small fix to stats crc check

pull/365/head
DJ2LS 2023-02-17 21:17:38 +01:00
parent fbdf556eba
commit 944bc5084e
1 changed files with 1 additions and 1 deletions

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]