Skip to content

Commit c962b80

Browse files
committed
Ignore LR-FHSS modulation in RouterConfig.
1 parent ada4ef6 commit c962b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/backend/basicstation/structs/router_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func GetRouterConfig(region band.Name, netIDs []lorawan.NetID, joinEUIs [][2]lor
113113
}
114114
for i := 0; i < 16; i++ {
115115
dr, err := b.GetDataRate(i)
116-
if err != nil {
116+
if err != nil || (dr.Modulation != band.LoRaModulation && dr.Modulation != band.FSKModulation) {
117117
c.DRs = append(c.DRs, []int{-1, 0, 0})
118118
continue
119119
}

0 commit comments

Comments
 (0)