small fix to stats crc check

This commit is contained in:
DJ2LS 2023-02-17 21:17:38 +01:00
parent fbdf556eba
commit 944bc5084e

View file

@ -22,7 +22,7 @@ class stats():
self.explorer_url = "https://api.freedata.app/stats.php"
def push(self, frame_nack_counter, status, duration):
crcerror = status in ["crc_error"]
crcerror = status in ["crc_error", "wrong_crc"]
# get avg snr
try:
snr_raw = [item["snr"] for item in static.SPEED_LIST]