mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2024-11-09 23:24:09 -08:00
fix #12
This commit is contained in:
parent
33b809fbb6
commit
683315cbe5
|
@ -132,7 +132,7 @@ func handleMessage(from uint32, topic string, portNum generated.PortNum, payload
|
|||
}
|
||||
fwVersion := mapReport.GetFirmwareVersion()
|
||||
// 2.3.1 has a bug that spams multiple MapReports every second
|
||||
if len(fwVersion) > 5 && fwVersion[:5] == "2.3.1" {
|
||||
if len(fwVersion) > 6 && fwVersion[:6] == "2.3.1." {
|
||||
return
|
||||
}
|
||||
longName := mapReport.GetLongName()
|
||||
|
|
Loading…
Reference in a new issue