Skip to content

Commit

Permalink
Merge pull request jketterl#11 from rassware/js8_fix
Browse files Browse the repository at this point in the history
fixing JS8 messages
  • Loading branch information
luarvique authored Aug 1, 2023
2 parents 272b352 + 1c90e34 commit 9b88e61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions owrx/js8.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,13 @@ 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(
frame.callsign, LocatorLocation(frame.grid), "JS8", band
callsign, LocatorLocation(frame.grid), "JS8", band
)
ReportingEngine.getSharedInstance().spot(
{
"callsign": frame.callsign,
"callsign": callsign,
"mode": "JS8",
"locator": frame.grid,
"freq": freq + frame.freq,
Expand Down

0 comments on commit 9b88e61

Please sign in to comment.