Skip to content

Commit

Permalink
ft1d: Fix failure to encode callsign
Browse files Browse the repository at this point in the history
Fixes #10969
  • Loading branch information
kk7ds committed Nov 28, 2023
1 parent ee75158 commit 016475b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chirp/drivers/ft1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ def _apply_callsign(cls, callsign, obj, default_ssid=None):
ssid = int(ssid) % 16
except ValueError:
ssid = default_ssid
setattr(obj, "callsign", cls._add_ff_pad(callsign, 6))
setattr(obj, "callsign", cls._add_ff_pad(callsign.encode(), 6))
if ssid is not None:
setattr(obj, "ssid", ssid)

Expand Down

0 comments on commit 016475b

Please sign in to comment.