summaryrefslogtreecommitdiff
path: root/apps/plugins/stopwatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/stopwatch.c')
-rw-r--r--apps/plugins/stopwatch.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index c3fa3e15dd..6fca37d06f 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -23,11 +23,7 @@
23 23
24 24
25 25
26#ifdef HAVE_LCD_BITMAP
27#define TIMER_Y 1 26#define TIMER_Y 1
28#else
29#define TIMER_Y 0
30#endif
31 27
32#define LAP_Y TIMER_Y+1 28#define LAP_Y TIMER_Y+1
33#define MAX_LAPS 64 29#define MAX_LAPS 64
@@ -481,14 +477,10 @@ enum plugin_status plugin_start(const void* parameter)
481 477
482 (void)parameter; 478 (void)parameter;
483 479
484#ifdef HAVE_LCD_BITMAP
485 int h; 480 int h;
486 rb->lcd_setfont(FONT_UI); 481 rb->lcd_setfont(FONT_UI);
487 rb->lcd_getstringsize("M", NULL, &h); 482 rb->lcd_getstringsize("M", NULL, &h);
488 lines = (LCD_HEIGHT / h) - (LAP_Y); 483 lines = (LCD_HEIGHT / h) - (LAP_Y);
489#else
490 lines = 1;
491#endif
492 484
493 load_stopwatch(); 485 load_stopwatch();
494 486