sansa AMS bootloader: make strings static

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-07-02 02:49:20 +00:00
parent e59558277e
commit 8c954e28b7

View file

@ -47,7 +47,7 @@ static void usb_mode(void)
{
if(usb_detect() != USB_INSERTED)
{
const char msg[] = "Plug USB cable";
static const char msg[] = "Plug USB cable";
reset_screen();
lcd_putsxy( (LCD_WIDTH - (SYSFONT_WIDTH * sizeof(msg))) / 2,
(LCD_HEIGHT - SYSFONT_HEIGHT) / 2, msg);
@ -57,7 +57,7 @@ static void usb_mode(void)
while(usb_detect() != USB_INSERTED) ;
}
const char msg[] = "Bootloader USB mode";
static const char msg[] = "Bootloader USB mode";
reset_screen();
lcd_putsxy( (LCD_WIDTH - (SYSFONT_WIDTH * sizeof(msg))) / 2,
(LCD_HEIGHT - SYSFONT_HEIGHT) / 2, msg);