From a455737068471fc0bd50adb2dec00253138677bd Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Sun, 17 Dec 2017 21:18:31 +0100 Subject: [PATCH] prevent hackrf from crashing (#379) --- src/urh/dev/native/HackRF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urh/dev/native/HackRF.py b/src/urh/dev/native/HackRF.py index a03dcc47c0..7a7630d162 100644 --- a/src/urh/dev/native/HackRF.py +++ b/src/urh/dev/native/HackRF.py @@ -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):