Skip to content

Commit d3ccab2

Browse files
committed
Channels debugged
1 parent 8215b19 commit d3ccab2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/.TheThingsNetwork.cpp.swp

1 KB
Binary file not shown.

src/TheThingsNetwork.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -760,21 +760,21 @@ void TheThingsNetwork::configureIN865_867()
760760
char buf[10];
761761
uint32_t freq = 865062500;
762762
uint8_t ch;
763-
for (ch = 3; ch < 6; ch++)
763+
for (ch = 3; ch < 7; ch++)
764764
{
765765
sendChSet(MAC_CHANNEL_DCYCLE, ch, "799");
766766
sprintf(buf, "%lu", freq);
767767
sendChSet(MAC_CHANNEL_FREQ, ch, buf);
768-
sendChSet(MAC_CHANNEL_DRRANGE, ch, "0 6");
768+
sendChSet(MAC_CHANNEL_DRRANGE, ch, "0 5");
769769
sendChSet(MAC_CHANNEL_STATUS, ch, "on");
770770
switch(ch)
771771
{
772772
case 4:
773-
freq = 865402500;
774-
break;
773+
freq = 865402500;
774+
break;
775775
case 5:
776-
freq = 865985000;
777-
break;
776+
freq = 865985000;
777+
break;
778778
}
779779
}
780780
sendMacSet(MAC_PWRIDX, TTN_PWRIDX_IN865_867);

0 commit comments

Comments
 (0)