From 9b89fc5c94ef0512439fb8a210182a456ecb9a94 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 11 Apr 2024 19:14:53 -0700 Subject: [PATCH] Fix statsby.c --- src/ui/statsby.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/statsby.c b/src/ui/statsby.c index 78e9a0b..e4b5067 100644 --- a/src/ui/statsby.c +++ b/src/ui/statsby.c @@ -189,6 +189,7 @@ static bool stats_by_screen_dispatch(StatsByScreen *screen, } if (state->back_down) { if (screen->stage == STATS_BY_SELECT_PERIOD) { + screen->period = PERIOD_HOUR; screen->need_redraw = true; lcd_display_control(state->lcd, LCD_CURSOR_NO_BLINK, LCD_CURSOR_OFF, LCD_DISPLAY_ON);