This commit is contained in:
root 2024-06-07 11:49:27 +00:00
parent 33b809fbb6
commit 683315cbe5

View file

@ -132,7 +132,7 @@ func handleMessage(from uint32, topic string, portNum generated.PortNum, payload
} }
fwVersion := mapReport.GetFirmwareVersion() fwVersion := mapReport.GetFirmwareVersion()
// 2.3.1 has a bug that spams multiple MapReports every second // 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 return
} }
longName := mapReport.GetLongName() longName := mapReport.GetLongName()