Skip to content

Commit

Permalink
Add output when starting radio config
Browse files Browse the repository at this point in the history
  • Loading branch information
leonjza committed Oct 11, 2016
1 parent a0ca2e0 commit 68e83f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ooktools/commands/signalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def send_binary(frequency, prefix, suffix, baud, repeat, data, full):
click.secho('Preparing radio', fg='yellow')

# Setup the Radio
click.secho('Configuring Radio', fg='yellow')
d = rflib.RfCat()
configure_dongle(d, frequency=frequency, pktflen=len(rf_data), baud=baud)

Expand Down Expand Up @@ -349,6 +350,7 @@ def send_hex(frequency, baud, repeat, data):
click.secho('Preparing radio', fg='yellow')

# Setup the Radio
click.secho('Configuring Radio', fg='yellow')
d = rflib.RfCat()
configure_dongle(d, frequency=frequency, pktflen=len(rf_data), baud=baud)

Expand All @@ -374,6 +376,7 @@ def jam(frequency, data, baud, maxpower):
:return:
"""

click.secho('Configuring Radio', fg='yellow')
d = rflib.RfCat()
configure_dongle(d, frequency=frequency, pktflen=len(data), baud=baud,
maxpower=maxpower)
Expand Down

0 comments on commit 68e83f8

Please sign in to comment.