2 parents 7d0eb8d + b8548ba commit beec11dCopy full SHA for beec11d
1 file changed
frequencies.c
@@ -164,7 +164,7 @@ int32_t TX_freq_check(const uint32_t Frequency)
164
// otherwise return '-1'
165
166
if (Frequency < frequencyBandTable[0].lower || Frequency > frequencyBandTable[BAND_N_ELEM - 1].upper)
167
- return -1; // not allowed outside this range
+ return 1; // not allowed outside this range
168
169
if (Frequency >= BX4819_band1.upper && Frequency < BX4819_band2.lower)
170
return -1; // BX chip does not work in this range
0 commit comments