sansa AMS bootloader: make strings static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c
index 140fa02..109d6db 100644
--- a/bootloader/sansa_as3525.c
+++ b/bootloader/sansa_as3525.c
@@ -47,7 +47,7 @@
{
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 @@
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);