Fix statsby.c
This commit is contained in:
parent
19156062c2
commit
9b89fc5c94
@ -189,6 +189,7 @@ static bool stats_by_screen_dispatch(StatsByScreen *screen,
|
|||||||
}
|
}
|
||||||
if (state->back_down) {
|
if (state->back_down) {
|
||||||
if (screen->stage == STATS_BY_SELECT_PERIOD) {
|
if (screen->stage == STATS_BY_SELECT_PERIOD) {
|
||||||
|
screen->period = PERIOD_HOUR;
|
||||||
screen->need_redraw = true;
|
screen->need_redraw = true;
|
||||||
lcd_display_control(state->lcd, LCD_CURSOR_NO_BLINK, LCD_CURSOR_OFF,
|
lcd_display_control(state->lcd, LCD_CURSOR_NO_BLINK, LCD_CURSOR_OFF,
|
||||||
LCD_DISPLAY_ON);
|
LCD_DISPLAY_ON);
|
||||||
|
Loading…
Reference in New Issue
Block a user