mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed activities list, disabled heard stations again
This commit is contained in:
parent
75dfa4d28a
commit
97bc309bb6
2 changed files with 4 additions and 1 deletions
|
@ -185,6 +185,9 @@ class DISPATCHER():
|
||||||
if "origin" in deconstructed_frame:
|
if "origin" in deconstructed_frame:
|
||||||
activity["origin"] = deconstructed_frame["origin"]
|
activity["origin"] = deconstructed_frame["origin"]
|
||||||
|
|
||||||
|
if "destination" in deconstructed_frame:
|
||||||
|
activity["destination"] = deconstructed_frame["destination"]
|
||||||
|
|
||||||
if "gridsquare" in deconstructed_frame:
|
if "gridsquare" in deconstructed_frame:
|
||||||
activity["gridsquare"] = deconstructed_frame["gridsquare"]
|
activity["gridsquare"] = deconstructed_frame["gridsquare"]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import time
|
import time
|
||||||
import ujson as json
|
import ujson as json
|
||||||
import threading
|
import threading
|
||||||
|
import numpy as np
|
||||||
class StateManager:
|
class StateManager:
|
||||||
def __init__(self, statequeue):
|
def __init__(self, statequeue):
|
||||||
|
|
||||||
|
@ -94,7 +95,6 @@ class StateManager:
|
||||||
"radio_mode": self.radio_mode,
|
"radio_mode": self.radio_mode,
|
||||||
"channel_busy_slot": self.channel_busy_slot,
|
"channel_busy_slot": self.channel_busy_slot,
|
||||||
"audio_dbfs": self.audio_dbfs,
|
"audio_dbfs": self.audio_dbfs,
|
||||||
"heard_stations": self.heard_stations,
|
|
||||||
"activities": self.activities_list,
|
"activities": self.activities_list,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue