Fix typo in default channel (Thanks Andre!)

This commit is contained in:
Jm Casler 2022-02-15 07:36:28 -08:00
parent 1ba7f009dd
commit 57bbd912b1
2 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,7 @@ void Channels::initDefaultChannel(ChannelIndex chIndex)
Channel &ch = getByIndex(chIndex); Channel &ch = getByIndex(chIndex);
ChannelSettings &channelSettings = ch.settings; ChannelSettings &channelSettings = ch.settings;
channelSettings.modem_config = ChannelSettings_ModemConfig_LongSlow; // Default to Long Range & Fast channelSettings.modem_config = ChannelSettings_ModemConfig_LongFast; // Default to Long Range & Fast
channelSettings.tx_power = 0; // default channelSettings.tx_power = 0; // default
uint8_t defaultpskIndex = 1; uint8_t defaultpskIndex = 1;

View File

@ -32,6 +32,8 @@ const RegionInfo regions[] = {
https://www.thethingsnetwork.org/docs/lorawan/duty-cycle/ https://www.thethingsnetwork.org/docs/lorawan/duty-cycle/
https://www.thethingsnetwork.org/docs/lorawan/regional-parameters/ https://www.thethingsnetwork.org/docs/lorawan/regional-parameters/
https://www.legislation.gov.uk/uksi/1999/930/schedule/6/part/III/made/data.xht?view=snippet&wrap=true https://www.legislation.gov.uk/uksi/1999/930/schedule/6/part/III/made/data.xht?view=snippet&wrap=true
audio_permitted = false per regulation
*/ */
RDEF(EU868, 869.4f, 869.65f, 10, 0, 16, false, false), RDEF(EU868, 869.4f, 869.65f, 10, 0, 16, false, false),