diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-06 22:55:00 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-06 22:55:00 +0000 |
commit | f9b90e91031dbd23fed24e832de4d8d2e15151a0 (patch) | |
tree | 964a492f1c4a658ec0ecb82d100ce62d2f6ec93a /flash | |
parent | a5d7309d96cca974e1524dc746482ab2a26d7395 (diff) | |
download | rockbox-f9b90e91031dbd23fed24e832de4d8d2e15151a0.tar.gz rockbox-f9b90e91031dbd23fed24e832de4d8d2e15151a0.zip |
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash')
-rw-r--r-- | flash/bootbox/main.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/flash/bootbox/main.c b/flash/bootbox/main.c index 9536d531f4..698a7e0954 100644 --- a/flash/bootbox/main.c +++ b/flash/bootbox/main.c @@ -46,9 +46,8 @@ void usb_screen(void) { lcd_clear_display(); lcd_puts(0, 0, "USB mode"); -#ifdef HAVE_LCD_BITMAP lcd_update(); -#endif + usb_acknowledge(SYS_USB_CONNECTED_ACK); while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) { } @@ -59,9 +58,8 @@ int show_logo(void) lcd_clear_display(); lcd_puts(0, 0, "Rockbox"); lcd_puts(0, 1, "Rescue boot"); -#ifdef HAVE_LCD_BITMAP lcd_update(); -#endif + return 0; } @@ -104,10 +102,7 @@ void charging_screen(void) battv / 100, battv % 100, battery_level()); lcd_puts(0, 1, buf); } - -#ifdef HAVE_LCD_BITMAP lcd_update(); -#endif button = button_get_w_tmo(HZ/2); #ifdef BUTTON_ON @@ -137,8 +132,8 @@ void prompt_usb(const char* msg1, const char* msg2) #ifdef HAVE_LCD_BITMAP lcd_puts(0, 2, "Insert USB cable"); lcd_puts(0, 3, "and fix it."); - lcd_update(); #endif + lcd_update(); do { button = button_get(true); |