Fix SHUTDOWN_CONFIRMATION compile
This commit is contained in:
@@ -2814,7 +2814,7 @@ uint32_t pwrCheck()
|
|||||||
}
|
}
|
||||||
if (get_tmr10ms() - pwr_press_time > PWR_PRESS_SHUTDOWN_DELAY) {
|
if (get_tmr10ms() - pwr_press_time > PWR_PRESS_SHUTDOWN_DELAY) {
|
||||||
#if defined(SHUTDOWN_CONFIRMATION)
|
#if defined(SHUTDOWN_CONFIRMATION)
|
||||||
while (1)
|
while (1) {
|
||||||
#else
|
#else
|
||||||
while ((TELEMETRY_STREAMING() && !g_eeGeneral.disableRssiPoweroffAlarm)) {
|
while ((TELEMETRY_STREAMING() && !g_eeGeneral.disableRssiPoweroffAlarm)) {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user