aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2023-05-03 19:37:48 +0200
committerEric <ewild@sysmocom.de>2023-07-07 19:16:40 +0200
commitdf4520df7736325958d853f57c90eb32f653a233 (patch)
tree96c3f040b9c3f9aae3b713249dd3f425dfbe3ba1
parent2f40abd8f55a36dbd7e6eed60fe4c82defc3cae2 (diff)
ms: make init call less confusing
-rw-r--r--Transceiver52M/ms/ms.cpp2
-rw-r--r--Transceiver52M/ms/ms.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/ms/ms.cpp b/Transceiver52M/ms/ms.cpp
index e587c05..896928e 100644
--- a/Transceiver52M/ms/ms.cpp
+++ b/Transceiver52M/ms/ms.cpp
@@ -49,7 +49,7 @@ std::atomic<bool> ms_trx::base::stop_lower_threads_flag(false);
int ms_trx::init_dev_and_streams()
{
int status = 0;
- status = base::init_device(rx_bh(), tx_bh());
+ status = init_device(rx_bh(), tx_bh());
if (status < 0) {
std::cerr << "failed to init dev!" << std::endl;
return -1;
diff --git a/Transceiver52M/ms/ms.h b/Transceiver52M/ms/ms.h
index 926031e..1c210b0 100644
--- a/Transceiver52M/ms/ms.h
+++ b/Transceiver52M/ms/ms.h
@@ -293,7 +293,6 @@ struct ms_trx : public BASET {
SCH_STATE search_for_sch(dev_buf_t *rcd);
void grab_bursts(dev_buf_t *rcd);
- int init_device();
int init_dev_and_streams();
void stop_threads();
void *rx_cb(ms_trx *t);