From 5dcbbec3bc6a0dde1613bebe17a5a7760a028560 Mon Sep 17 00:00:00 2001 From: Dual Tachyon Date: Fri, 15 Sep 2023 14:54:03 +0100 Subject: [PATCH] Fixed missing airband step. --- frequencies.c | 5 +++-- frequencies.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frequencies.c b/frequencies.c index 924fa6f..c9f5c15 100644 --- a/frequencies.c +++ b/frequencies.c @@ -63,13 +63,14 @@ const uint32_t NoaaFrequencyTable[10] = { }; #endif -const uint16_t StepFrequencyTable[6] = { +const uint16_t StepFrequencyTable[7] = { 250, 500, 625, 1000, 1250, - 2500 + 2500, + 833, }; FREQUENCY_Band_t FREQUENCY_GetBand(uint32_t Frequency) diff --git a/frequencies.h b/frequencies.h index 2760b9b..3cdf2a8 100644 --- a/frequencies.h +++ b/frequencies.h @@ -38,7 +38,7 @@ extern const uint32_t UpperLimitFrequencyBandTable[7]; #if defined(ENABLE_NOAA) extern const uint32_t NoaaFrequencyTable[10]; #endif -extern const uint16_t StepFrequencyTable[6]; +extern const uint16_t StepFrequencyTable[7]; FREQUENCY_Band_t FREQUENCY_GetBand(uint32_t Frequency); uint8_t FREQUENCY_CalculateOutputPower(uint8_t TxpLow, uint8_t TxpMid, uint8_t TxpHigh, int32_t LowerLimit, int32_t Middle, int32_t UpperLimit, int32_t Frequency);