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:
parent
e59558277e
commit
8c954e28b7
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue