Add default mem channels

This commit is contained in:
Armel FAUVEAU committed 2025-12-24 01:39:41 +01:00
1 parent bcc593a61f
commit eee9fc0c1b
2 files changed
+6 -7

No files matched your search

+5 -6
View File
@@ -31,11 +31,10 @@
#ifdef ENABLE_FEAT_F4HWN_RESET_CHANNEL
static const uint32_t gDefaultFrequencyTable[] =
{
14500000, //
14550000, //
43300000, //
43320000, //
43350000 //
14550000, //
43350000, //
44608125, //
12150000, //
};
#endif
@@ -558,7 +557,7 @@ void SETTINGS_FactoryReset(bool bIsAll)
#ifdef ENABLE_FEAT_F4HWN_RESET_CHANNEL
// set the first few memory channels
for (i = 0; i < ARRAY_SIZE(gDefaultFrequencyTable); i++)
for (uint8_t i = 0; i < ARRAY_SIZE(gDefaultFrequencyTable); i++)
{
const uint32_t Frequency = gDefaultFrequencyTable[i];
gRxVfo->freq_config_RX.Frequency = Frequency;
+1 -1
View File
@@ -59,7 +59,7 @@
"ENABLE_FEAT_F4HWN_CTR": true,
"ENABLE_FEAT_F4HWN_RESCUE_OPS": false,
"ENABLE_FEAT_F4HWN_VOL": false,
"ENABLE_FEAT_F4HWN_RESET_CHANNEL": false,
"ENABLE_FEAT_F4HWN_RESET_CHANNEL": true,
"ENABLE_FEAT_F4HWN_PMR": false,
"ENABLE_FEAT_F4HWN_GMRS_FRS_MURS": false,
"ENABLE_FEAT_F4HWN_CA": true,