Improve RxMode and MainOnly action

This commit is contained in:
Armel FAUVEAU
2024-06-12 04:28:17 +02:00
parent f1aab18c5c
commit f9f15df8d1
7 changed files with 42 additions and 10 deletions

6
main.c
View File

@@ -94,6 +94,12 @@ void Main(void)
BOARD_ADC_GetBatteryInfo(&gBatteryCurrentVoltage, &gBatteryCurrent);
SETTINGS_InitEEPROM();
#ifdef ENABLE_FEAT_F4HWN
gDW = gEeprom.DUAL_WATCH;
gCB = gEeprom.CROSS_BAND_RX_TX;
#endif
SETTINGS_WriteBuildOptions();
SETTINGS_LoadCalibration();