Skip to content

Commit 8215b19

Browse files
committed
Indentation and comment updated
1 parent 1f73b8b commit 8215b19

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/TheThingsNetwork.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -752,12 +752,11 @@ void TheThingsNetwork::configureIN865_867()
752752
{
753753
sendMacSet(MAC_ADR, "off"); // TODO: remove when ADR is implemented for this plan
754754
sendMacSet(MAC_RX2, "2 866550000"); // SF10
755-
//disable two default LoRaWAN channels
755+
//disable three default LoRaWAN channels
756756
sendChSet(MAC_CHANNEL_STATUS, 0, "off");
757757
sendChSet(MAC_CHANNEL_STATUS, 1, "off");
758758
sendChSet(MAC_CHANNEL_STATUS, 2, "off");
759759

760-
761760
char buf[10];
762761
uint32_t freq = 865062500;
763762
uint8_t ch;
@@ -769,15 +768,15 @@ void TheThingsNetwork::configureIN865_867()
769768
sendChSet(MAC_CHANNEL_DRRANGE, ch, "0 6");
770769
sendChSet(MAC_CHANNEL_STATUS, ch, "on");
771770
switch(ch)
772-
{
773-
case 4:
774-
freq = 865402500;
775-
break;
776-
case 5:
777-
freq = 865985000;
778-
break;
779-
}
780-
}
771+
{
772+
case 4:
773+
freq = 865402500;
774+
break;
775+
case 5:
776+
freq = 865985000;
777+
break;
778+
}
779+
}
781780
sendMacSet(MAC_PWRIDX, TTN_PWRIDX_IN865_867);
782781
}
783782
void TheThingsNetwork::configureChannels(uint8_t fsb)

0 commit comments

Comments
 (0)