fixed activities list, disabled heard stations again

This commit is contained in:
DJ2LS 2023-12-01 17:02:42 +01:00
parent 75dfa4d28a
commit 97bc309bb6
2 changed files with 4 additions and 1 deletions

View file

@ -185,6 +185,9 @@ class DISPATCHER():
if "origin" in deconstructed_frame:
activity["origin"] = deconstructed_frame["origin"]
if "destination" in deconstructed_frame:
activity["destination"] = deconstructed_frame["destination"]
if "gridsquare" in deconstructed_frame:
activity["gridsquare"] = deconstructed_frame["gridsquare"]

View file

@ -1,6 +1,7 @@
import time
import ujson as json
import threading
import numpy as np
class StateManager:
def __init__(self, statequeue):
@ -94,7 +95,6 @@ class StateManager:
"radio_mode": self.radio_mode,
"channel_busy_slot": self.channel_busy_slot,
"audio_dbfs": self.audio_dbfs,
"heard_stations": self.heard_stations,
"activities": self.activities_list,
}