Skip to content

Commit

Permalink
fixed regression of radio_mode unknown when CAT not started
Browse files Browse the repository at this point in the history
  • Loading branch information
mcogoni committed May 1, 2021
1 parent 2743854 commit e26cf2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion supersdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ def draw_lines(surface, wf_height, radio_mode, mouse):
cat_radio.get_mode()
radio_mode = cat_radio.radio_mode
else:
del cat_radio
radio_mode = "USB"
cat_radio = None
except:
cat_radio = None
radio_mode = "USB"
Expand Down

0 comments on commit e26cf2f

Please sign in to comment.