Fix statsby.c

This commit is contained in:
Alexander Rosenberg 2024-04-11 19:14:53 -07:00
parent 19156062c2
commit 9b89fc5c94
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -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);