Change return value of reflow_menu_handle
This commit is contained in:
parent
0fca4c6c20
commit
6f4363e021
@ -23,7 +23,7 @@
|
||||
|
||||
/**
|
||||
* @brief Handle the reflow controller's LCD Menu
|
||||
* @return 0 if a delay is requested, 1 if no delay is requested
|
||||
* @return 0 if no delay is requested, 1 if delay is requested
|
||||
*/
|
||||
int reflow_menu_handle(void);
|
||||
|
||||
|
@ -228,7 +228,7 @@ int main()
|
||||
handle_shell_uart_input(shell_handle);
|
||||
|
||||
menu_wait_request = reflow_menu_handle();
|
||||
if (!menu_wait_request)
|
||||
if (menu_wait_request)
|
||||
__WFI();
|
||||
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ int reflow_menu_handle()
|
||||
lcd_tick_ms = 0UL;
|
||||
}
|
||||
|
||||
if (lcd_ret == LCD_FSM_CALL_AGAIN)
|
||||
if (lcd_ret == LCD_FSM_WAIT_CALL)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user