harden SDR capture with restart, correlator counts crc-ok only

This commit is contained in:
Lars Nolden
2026-08-31 23:00:27 +02:00
parent 04c8130615
commit 5c8d15d089
2 changed files with 27 additions and 5 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ def main():
break
for r in heltec_rx:
if r["_cooked"] is None:
if r["_cooked"] is None or not r.get("crc_ok"):
continue
ser = r["_cooked"][4:8][::-1].hex() if len(r["_cooked"]) >= 8 else "?"
per_meter.setdefault(ser, {"sdr": 0, "heltec": 0, "matched": 0})