Skip to content

Commit

Permalink
prevent hackrf from crashing (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl committed Dec 17, 2017
1 parent 91cde84 commit a455737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urh/dev/native/HackRF.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def shutdown_device(cls, ctrl_conn: Connection, is_tx: bool):
@classmethod
def enter_async_receive_mode(cls, data_connection: Connection, ctrl_connection: Connection):
ret = hackrf.start_rx_mode(data_connection.send_bytes)
ctrl_connection.send_bytes("Start RX MODE:", str(ret))
ctrl_connection.send("Start RX MODE:" + str(ret))

@classmethod
def enter_async_send_mode(cls, callback):
Expand Down

0 comments on commit a455737

Please sign in to comment.