Skip to content

Commit 479ef09

Browse files
committed
Readapting implmentation to the new prepare_sync_receive method
1 parent de241c7 commit 479ef09

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/urh/dev/native/PlutoSDR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def shutdown_device(cls, ctrl_connection, is_tx: bool):
6565
return True
6666

6767
@classmethod
68-
def prepare_sync_receive(cls, ctrl_connection: Connection):
68+
def prepare_sync_receive(cls, ctrl_connection: Connection, dev_parameters: OrderedDict):
6969
ctrl_connection.send("Initializing PlutoSDR..")
7070
ret = plutosdr.setup_rx(cls.SYNC_RX_CHUNK_SIZE)
7171
return ret

src/urh/dev/native/RTLSDR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def setup_device(cls, ctrl_connection: Connection, device_identifier):
3939
return ret == 0
4040

4141
@classmethod
42-
def prepare_sync_receive(cls, ctrl_connection: Connection):
42+
def prepare_sync_receive(cls, ctrl_connection: Connection, dev_parameters: OrderedDict):
4343
ret = rtlsdr.reset_buffer()
4444
ctrl_connection.send("RESET_BUFFER:" + str(ret))
4545
return ret

src/urh/dev/native/USRP.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def shutdown_device(cls, ctrl_connection, is_tx: bool):
7474
return True
7575

7676
@classmethod
77-
def prepare_sync_receive(cls, ctrl_connection: Connection):
77+
def prepare_sync_receive(cls, ctrl_connection: Connection, dev_parameters: OrderedDict):
7878
ctrl_connection.send("Initializing stream...")
7979
usrp.setup_stream()
8080
return usrp.start_stream(cls.SYNC_RX_CHUNK_SIZE)

0 commit comments

Comments
 (0)