Skip to content

Commit b60a48f

Browse files
committed
Revert "Merge pull request jketterl#11 from rassware/js8_fix"
This reverts commit 9b88e61, reversing changes made to 272b352.
1 parent 9b88e61 commit b60a48f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

owrx/js8.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,12 @@ 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"]
106105
Map.getSharedInstance().updateLocation(
107-
callsign, LocatorLocation(frame.grid), "JS8", band
106+
frame.callsign, LocatorLocation(frame.grid), "JS8", band
108107
)
109108
ReportingEngine.getSharedInstance().spot(
110109
{
111-
"callsign": callsign,
110+
"callsign": frame.callsign,
112111
"mode": "JS8",
113112
"locator": frame.grid,
114113
"freq": freq + frame.freq,

0 commit comments

Comments
 (0)