Skip to content

Commit 9b88e61

Browse files
authored
Merge pull request jketterl#11 from rassware/js8_fix
fixing JS8 messages
2 parents 272b352 + 1c90e34 commit 9b88e61

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

owrx/js8.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ def parse(self, profile: AudioChopperProfile, freq: int, raw_msg: bytes):
102102
self.pushDecode(band)
103103

104104
if (isinstance(frame, Js8FrameHeartbeat) or isinstance(frame, Js8FrameCompound)) and frame.grid:
105+
callsign = frame.source["callsign"]
105106
Map.getSharedInstance().updateLocation(
106-
frame.callsign, LocatorLocation(frame.grid), "JS8", band
107+
callsign, LocatorLocation(frame.grid), "JS8", band
107108
)
108109
ReportingEngine.getSharedInstance().spot(
109110
{
110-
"callsign": frame.callsign,
111+
"callsign": callsign,
111112
"mode": "JS8",
112113
"locator": frame.grid,
113114
"freq": freq + frame.freq,

0 commit comments

Comments
 (0)