forked from len0rd/rockbox
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
This commit is contained in:
parent
a5d7309d96
commit
f9b90e9103
36 changed files with 131 additions and 187 deletions
|
@ -369,9 +369,8 @@ static int run_timer(int nr)
|
|||
(unsigned char *)show_time((max_ticks-ticks+HZ-1)/HZ));
|
||||
}
|
||||
}
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_update();
|
||||
#endif
|
||||
|
||||
button = rb->button_get(false);
|
||||
switch (button) {
|
||||
/* OFF/ON key to exit */
|
||||
|
@ -493,9 +492,8 @@ static int chessclock_set_int(char* string,
|
|||
else
|
||||
rb->snprintf(str, sizeof str,"%d", *variable);
|
||||
rb->lcd_puts(0, FIRST_LINE+1, (unsigned char *)str);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_update();
|
||||
#endif
|
||||
|
||||
button = rb->button_get(true);
|
||||
switch(button) {
|
||||
case CHC_SETTINGS_INC:
|
||||
|
@ -562,9 +560,8 @@ static int simple_menu(int nr, unsigned char **strarr)
|
|||
if (show<0)
|
||||
show=nr-1;
|
||||
rb->lcd_puts_scroll(0, FIRST_LINE, strarr[show]);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_update();
|
||||
#endif
|
||||
|
||||
button = rb->button_get(true);
|
||||
switch(button) {
|
||||
case CHC_SETTINGS_INC:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue