summaryrefslogtreecommitdiff
path: root/apps/plugins/chessclock.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-06 22:55:00 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-06 22:55:00 +0000
commitf9b90e91031dbd23fed24e832de4d8d2e15151a0 (patch)
tree964a492f1c4a658ec0ecb82d100ce62d2f6ec93a /apps/plugins/chessclock.c
parenta5d7309d96cca974e1524dc746482ab2a26d7395 (diff)
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 'apps/plugins/chessclock.c')
-rw-r--r--apps/plugins/chessclock.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c
index acc35c3788..086245e75c 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: