From f9b90e91031dbd23fed24e832de4d8d2e15151a0 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 6 Apr 2007 22:55:00 +0000 Subject: 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 --- apps/plugins/chessclock.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'apps/plugins/chessclock.c') diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index acc35c3..086245e 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c @@ -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: -- cgit v1.1