ms: make init call less confusing

Change-Id: I122b0c8cf97e5efcbc60cd95e8bd06a50d57eb57
This commit is contained in:
Eric
2023-05-03 19:37:48 +02:00
parent 2f40abd8f5
commit df4520df77
2 changed files with 1 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);