mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
small fix to stats crc check
This commit is contained in:
parent
fbdf556eba
commit
944bc5084e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class stats():
|
||||||
self.explorer_url = "https://api.freedata.app/stats.php"
|
self.explorer_url = "https://api.freedata.app/stats.php"
|
||||||
|
|
||||||
def push(self, frame_nack_counter, status, duration):
|
def push(self, frame_nack_counter, status, duration):
|
||||||
crcerror = status in ["crc_error"]
|
crcerror = status in ["crc_error", "wrong_crc"]
|
||||||
# get avg snr
|
# get avg snr
|
||||||
try:
|
try:
|
||||||
snr_raw = [item["snr"] for item in static.SPEED_LIST]
|
snr_raw = [item["snr"] for item in static.SPEED_LIST]
|
||||||
|
|
Loading…
Reference in a new issue