pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/16753 )


Change subject: lms: Move initialization of field started to constructor
......................................................................

lms: Move initialization of field started to constructor

Change-Id: I135a2ff4a419775169452be1128c7b30f7d638ad
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/53/16753/1

diff --git a/Transceiver52M/device/lms/LMSDevice.cpp 
b/Transceiver52M/device/lms/LMSDevice.cpp
index 19fe6e8..4a687e1 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -49,7 +49,7 @@
                     const std::vector<std::string>& tx_paths,
                     const std::vector<std::string>& rx_paths):
        RadioDevice(tx_sps, rx_sps, iface, chans, lo_offset, tx_paths, 
rx_paths),
-       m_lms_dev(NULL)
+       m_lms_dev(NULL), started(false)
 {
        LOGC(DDEV, INFO) << "creating LMS device...";

@@ -248,8 +248,6 @@
        for (size_t i = 0; i < rx_buffers.size(); i++)
                rx_buffers[i] = new smpl_buf(SAMPLE_BUF_SZ / sizeof(uint32_t));

-       started = false;
-
        return NORMAL;

 out_close:

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/16753
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I135a2ff4a419775169452be1128c7b30f7d638ad
Gerrit-Change-Number: 16753
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to