File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -752,12 +752,11 @@ void TheThingsNetwork::configureIN865_867()
752
752
{
753
753
sendMacSet (MAC_ADR, " off" ); // TODO: remove when ADR is implemented for this plan
754
754
sendMacSet (MAC_RX2, " 2 866550000" ); // SF10
755
- // disable two default LoRaWAN channels
755
+ // disable three default LoRaWAN channels
756
756
sendChSet (MAC_CHANNEL_STATUS, 0 , " off" );
757
757
sendChSet (MAC_CHANNEL_STATUS, 1 , " off" );
758
758
sendChSet (MAC_CHANNEL_STATUS, 2 , " off" );
759
759
760
-
761
760
char buf[10 ];
762
761
uint32_t freq = 865062500 ;
763
762
uint8_t ch;
@@ -769,15 +768,15 @@ void TheThingsNetwork::configureIN865_867()
769
768
sendChSet (MAC_CHANNEL_DRRANGE, ch, " 0 6" );
770
769
sendChSet (MAC_CHANNEL_STATUS, ch, " on" );
771
770
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
+ }
781
780
sendMacSet (MAC_PWRIDX, TTN_PWRIDX_IN865_867);
782
781
}
783
782
void TheThingsNetwork::configureChannels (uint8_t fsb)
You can’t perform that action at this time.
0 commit comments