Fixed missing airband step.

This commit is contained in:
Dual Tachyon 2023-09-15 14:54:03 +01:00
parent f5cc006b2a
commit 5dcbbec3bc
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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);