Spelling and fixing defaults

This commit is contained in:
Ben Meadors
2022-09-12 07:55:17 -05:00
parent a8711bc54a
commit 18f37981bb
5 changed files with 9 additions and 5 deletions

View File

@@ -414,6 +414,8 @@ void RadioInterface::applyModemConfig()
if (power == 0)
power = 17; // Default to default power if we don't have a valid power
loraConfig.tx_power = power;
// Calculate the number of channels
uint32_t numChannels = floor((myRegion->freqEnd - myRegion->freqStart) / (myRegion->spacing + (bw / 1000)));