mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 13:13:17 +00:00
ms: make init call less confusing
Change-Id: I122b0c8cf97e5efcbc60cd95e8bd06a50d57eb57
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user