From 62c29800bf0e2e78f985a61c909f7ff4c96bac68 Mon Sep 17 00:00:00 2001 From: JP Meijers Date: Tue, 17 Apr 2018 18:02:29 +0200 Subject: [PATCH] Small formatting change --- src/TheThingsNetwork.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/TheThingsNetwork.cpp b/src/TheThingsNetwork.cpp index 2fe56a2e..697acf02 100644 --- a/src/TheThingsNetwork.cpp +++ b/src/TheThingsNetwork.cpp @@ -748,11 +748,13 @@ void TheThingsNetwork::configureKR920_923() } sendMacSet(MAC_PWRIDX, TTN_PWRIDX_KR920_923); } + void TheThingsNetwork::configureIN865_867() { sendMacSet(MAC_ADR, "off"); // TODO: remove when ADR is implemented for this plan - sendMacSet(MAC_RX2, "2 866550000"); // SF10 - //disable three default LoRaWAN channels + sendMacSet(MAC_RX2, "2 866550000"); // SF10 + + // Disable the three default LoRaWAN channels sendChSet(MAC_CHANNEL_STATUS, 0, "off"); sendChSet(MAC_CHANNEL_STATUS, 1, "off"); sendChSet(MAC_CHANNEL_STATUS, 2, "off"); @@ -779,6 +781,7 @@ void TheThingsNetwork::configureIN865_867() } sendMacSet(MAC_PWRIDX, TTN_PWRIDX_IN865_867); } + void TheThingsNetwork::configureChannels(uint8_t fsb) { switch (fp)