diff options
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: |