Skip to content

Commit

Permalink
Revert "Merge pull request jketterl#11 from rassware/js8_fix"
Browse files Browse the repository at this point in the history
This reverts commit 9b88e61, reversing
changes made to 272b352.
  • Loading branch information
luarvique committed Aug 1, 2023
1 parent 9b88e61 commit b60a48f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions owrx/js8.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ def parse(self, profile: AudioChopperProfile, freq: int, raw_msg: bytes):
self.pushDecode(band)

if (isinstance(frame, Js8FrameHeartbeat) or isinstance(frame, Js8FrameCompound)) and frame.grid:
callsign = frame.source["callsign"]
Map.getSharedInstance().updateLocation(
callsign, LocatorLocation(frame.grid), "JS8", band
frame.callsign, LocatorLocation(frame.grid), "JS8", band
)
ReportingEngine.getSharedInstance().spot(
{
"callsign": callsign,
"callsign": frame.callsign,
"mode": "JS8",
"locator": frame.grid,
"freq": freq + frame.freq,
Expand Down

0 comments on commit b60a48f

Please sign in to comment.