Fix error in power handling of LCD FSM
This commit is contained in:
parent
7b426c93c9
commit
828b47f3be
@ -260,7 +260,7 @@ int reflow_menu_handle()
|
|||||||
|
|
||||||
menu_handle(reflow_menu_ptr, (int16_t)rot_delta, button);
|
menu_handle(reflow_menu_ptr, (int16_t)rot_delta, button);
|
||||||
|
|
||||||
if (lcd_ret != LCD_FSM_WAIT_CALL || lcd_tick_100us >= 5) {
|
if (lcd_ret == LCD_FSM_CALL_AGAIN || lcd_tick_100us >= 5) {
|
||||||
lcd_ret = lcd_fsm_write_buffer(display_buffer);
|
lcd_ret = lcd_fsm_write_buffer(display_buffer);
|
||||||
lcd_tick_100us = 0UL;
|
lcd_tick_100us = 0UL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user