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 /apps/plugins/chessclock.c | |
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 'apps/plugins/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 9 |
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) | |||
369 | (unsigned char *)show_time((max_ticks-ticks+HZ-1)/HZ)); | 369 | (unsigned char *)show_time((max_ticks-ticks+HZ-1)/HZ)); |
370 | } | 370 | } |
371 | } | 371 | } |
372 | #ifdef HAVE_LCD_BITMAP | ||
373 | rb->lcd_update(); | 372 | rb->lcd_update(); |
374 | #endif | 373 | |
375 | button = rb->button_get(false); | 374 | button = rb->button_get(false); |
376 | switch (button) { | 375 | switch (button) { |
377 | /* OFF/ON key to exit */ | 376 | /* OFF/ON key to exit */ |
@@ -493,9 +492,8 @@ static int chessclock_set_int(char* string, | |||
493 | else | 492 | else |
494 | rb->snprintf(str, sizeof str,"%d", *variable); | 493 | rb->snprintf(str, sizeof str,"%d", *variable); |
495 | rb->lcd_puts(0, FIRST_LINE+1, (unsigned char *)str); | 494 | rb->lcd_puts(0, FIRST_LINE+1, (unsigned char *)str); |
496 | #ifdef HAVE_LCD_BITMAP | ||
497 | rb->lcd_update(); | 495 | rb->lcd_update(); |
498 | #endif | 496 | |
499 | button = rb->button_get(true); | 497 | button = rb->button_get(true); |
500 | switch(button) { | 498 | switch(button) { |
501 | case CHC_SETTINGS_INC: | 499 | case CHC_SETTINGS_INC: |
@@ -562,9 +560,8 @@ static int simple_menu(int nr, unsigned char **strarr) | |||
562 | if (show<0) | 560 | if (show<0) |
563 | show=nr-1; | 561 | show=nr-1; |
564 | rb->lcd_puts_scroll(0, FIRST_LINE, strarr[show]); | 562 | rb->lcd_puts_scroll(0, FIRST_LINE, strarr[show]); |
565 | #ifdef HAVE_LCD_BITMAP | ||
566 | rb->lcd_update(); | 563 | rb->lcd_update(); |
567 | #endif | 564 | |
568 | button = rb->button_get(true); | 565 | button = rb->button_get(true); |
569 | switch(button) { | 566 | switch(button) { |
570 | case CHC_SETTINGS_INC: | 567 | case CHC_SETTINGS_INC: |