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) int lap; int done = false; bool update_lap = true; - int lines, h; + int lines; (void)parameter; rb = api; #ifdef HAVE_LCD_BITMAP + int h; rb->lcd_setfont(FONT_UI); rb->lcd_getstringsize("M", NULL, &h); lines = (LCD_HEIGHT / h) - (LAP_Y);