Skip to content

Commit

Permalink
Merge pull request #20 from SpudGunMan/modefix
Browse files Browse the repository at this point in the history
enhancemode
  • Loading branch information
mbridak authored Apr 14, 2024
2 parents 8ec7a4e + d061014 commit ac65a8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions potato.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ def spotclicked(self):
mode = "USB"
else:
mode = "LSB"
elif mode == "CW":
mode = "CW"
else:
mode = "USB" # default to USB for digital modes

if self.check_port(SERVER_ADDRESS_FLRIG.split(":")[0], int(SERVER_ADDRESS_FLRIG.split(":")[1])) is True:
self.server_flrig.rig.set_mode(mode)
Expand Down

0 comments on commit ac65a8b

Please sign in to comment.