Commit e4555f9 1 parent d84a78c commit e4555f9 Copy full SHA for e4555f9
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ static void checkFailsafe()
624
624
#endif
625
625
626
626
#if defined(GUI)
627
- void checkAll ()
627
+ void checkAll (bool isBootCheck )
628
628
{
629
629
#if defined(EEPROM_RLC) && !defined(SDCARD_RAW) && !defined(SDCARD_YAML)
630
630
checkLowEEPROM ();
@@ -640,9 +640,9 @@ void checkAll()
640
640
checkSwitches ();
641
641
checkFailsafe ();
642
642
643
-
644
- if (isVBatBridgeEnabled () && !g_eeGeneral.disableRtcWarning ) {
643
+ if (isBootCheck && !g_eeGeneral.disableRtcWarning ) {
645
644
// only done once at board start
645
+ enableVBatBridge ();
646
646
checkRTCBattery ();
647
647
}
648
648
disableVBatBridge ();
@@ -1533,7 +1533,7 @@ void edgeTxInit()
1533
1533
}
1534
1534
else if (!(startOptions & OPENTX_START_NO_CHECKS)) {
1535
1535
checkAlarm ();
1536
- checkAll ();
1536
+ checkAll (true );
1537
1537
PLAY_MODEL_NAME ();
1538
1538
}
1539
1539
#endif // defined(GUI)
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ void checkLowEEPROM();
355
355
void checkThrottleStick ();
356
356
void checkSwitches ();
357
357
void checkAlarm ();
358
- void checkAll ();
358
+ void checkAll (bool isBootCheck = false );
359
359
360
360
void getADC ();
361
361
You can’t perform that action at this time.
0 commit comments