Skip to content

Commit 0841eef

Browse files
authored
Update frequencies.c
1 parent a06936a commit 0841eef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frequencies.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ uint32_t g_aircopy_freq = 41002500;
2727
const freq_band_table_t AIR_BAND = {10800000, 13600000};
2828

2929
// the BK4819 has 2 bands it covers, 18MHz ~ 630MHz and 760MHz ~ 1300MHz
30-
const freq_band_table_t BX4819_BAND1 = { 1500000, 63000000};
31-
const freq_band_table_t BX4819_BAND2 = {76000000, 189950000};
30+
const freq_band_table_t BX4819_BAND1 = { 1400000, 66500000};
31+
const freq_band_table_t BX4819_BAND2 = {74500000, 189950000};
3232

3333
const freq_band_table_t FREQ_BAND_TABLE[7] =
3434
{
@@ -213,7 +213,7 @@ int FREQUENCY_tx_freq_check(const uint32_t Frequency)
213213
return 0; // TX allowed in the airband
214214

215215
if (Frequency < FREQ_BAND_TABLE[0].lower || Frequency > FREQ_BAND_TABLE[ARRAY_SIZE(FREQ_BAND_TABLE) - 1].upper)
216-
return -1; // TX not allowed outside this range
216+
return 0; // -1; TX not allowed outside this range
217217

218218
switch (g_eeprom.config.setting.freq_lock)
219219
{

0 commit comments

Comments
 (0)