Fix SHUTDOWN_CONFIRMATION compile

This commit is contained in:
3djc
2017-12-14 07:58:31 +01:00
parent 47383fd053
commit dc89bb1dfc
+1 -1
View File
@@ -2814,7 +2814,7 @@ uint32_t pwrCheck()
}
if (get_tmr10ms() - pwr_press_time > PWR_PRESS_SHUTDOWN_DELAY) {
#if defined(SHUTDOWN_CONFIRMATION)
while (1)
while (1) {
#else
while ((TELEMETRY_STREAMING() && !g_eeGeneral.disableRssiPoweroffAlarm)) {
#endif