Skip to content

Commit

Permalink
ns: Allow custom data rate on lora standard channel
Browse files Browse the repository at this point in the history
  • Loading branch information
onizmx committed Sep 18, 2023
1 parent 5ec6136 commit 8466c19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/networkserver/mac/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ func DeviceDesiredChannels(
for _, ch := range chs {
if ch.UplinkFrequency == stdCh.Frequency {
ch.EnableUplink = true
ch.MinDataRateIndex = ttnpb.DataRateIndex(stdCh.DataRate)
ch.MaxDataRateIndex = ttnpb.DataRateIndex(stdCh.DataRate)
break
}
}
Expand Down

0 comments on commit 8466c19

Please sign in to comment.