mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 13:55:12 +03:00
Fixes #6727
This commit is contained in:
parent
63a1a5d1a9
commit
e8c7229ff2
7 changed files with 14 additions and 17 deletions
|
@ -232,7 +232,7 @@ TASK_FUNCTION(menusTask)
|
|||
opentxInit();
|
||||
|
||||
#if defined(PWR_BUTTON_PRESS)
|
||||
while (1) {
|
||||
while (true) {
|
||||
uint32_t pwr_check = pwrCheck();
|
||||
if (pwr_check == e_power_off) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue