summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/stopwatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c
index 6d4c4d6ac7..a2dd647e90 100644
--- a/apps/plugins/stopwatch.c
+++ b/apps/plugins/stopwatch.c
@@ -179,12 +179,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
179 int lap; 179 int lap;
180 int done = false; 180 int done = false;
181 bool update_lap = true; 181 bool update_lap = true;
182 int lines, h; 182 int lines;
183 183
184 (void)parameter; 184 (void)parameter;
185 rb = api; 185 rb = api;
186 186
187#ifdef HAVE_LCD_BITMAP 187#ifdef HAVE_LCD_BITMAP
188 int h;
188 rb->lcd_setfont(FONT_UI); 189 rb->lcd_setfont(FONT_UI);
189 rb->lcd_getstringsize("M", NULL, &h); 190 rb->lcd_getstringsize("M", NULL, &h);
190 lines = (LCD_HEIGHT / h) - (LAP_Y); 191 lines = (LCD_HEIGHT / h) - (LAP_Y);