summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-07-02 02:49:20 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-07-02 02:49:20 +0000
commit8c954e28b75b47543f69abe2c169d83ad38c26ae (patch)
tree9b03b2b2ebf8dc6aae0b450076a1a17fc3787111 /bootloader
parente59558277ee721000fd75fe6d891fb044165ab6e (diff)
downloadrockbox-8c954e28b75b47543f69abe2c169d83ad38c26ae.tar.gz
rockbox-8c954e28b75b47543f69abe2c169d83ad38c26ae.tar.bz2
rockbox-8c954e28b75b47543f69abe2c169d83ad38c26ae.zip
sansa AMS bootloader: make strings static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/sansa_as3525.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c
index 140fa02a76..109d6db919 100644
--- a/bootloader/sansa_as3525.c
+++ b/bootloader/sansa_as3525.c
@@ -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);