Change return value of reflow_menu_handle

This commit is contained in:
Mario Hüttel 2020-06-14 01:31:44 +02:00
parent 0fca4c6c20
commit 6f4363e021
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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