aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterfaceResamp.cpp
diff options
context:
space:
mode:
authorEric <ewild@sysmocom.de>2023-01-09 20:13:05 +0100
committerEric <ewild@sysmocom.de>2023-01-09 20:17:46 +0100
commit0c433350da5514ebec7791d050fcfaf0c9c9848f (patch)
treee9ca148c118a95d375e51c70440a4d8516252ef7 /Transceiver52M/radioInterfaceResamp.cpp
parentd0c1055051f59572e902ccef8598b796ad33179a (diff)
radio interface: fix init
5561f1129d0bed0ebd2a49fde07e8ee91e487fd6 introduced some changes, but while RadioInterface lost its call to close() that was previously used to improperly reset the buffers upon init() that call was accidentally not removed for RadioInterfaceMulti and RadioInterfaceResamp, so those reset previously initialized values to 0 during init(), which break osmo-trx for weird setups. Change-Id: I74fc1586f8ae0832f4093ba8a44a1c70c78ec3d8
Diffstat (limited to 'Transceiver52M/radioInterfaceResamp.cpp')
-rw-r--r--Transceiver52M/radioInterfaceResamp.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Transceiver52M/radioInterfaceResamp.cpp b/Transceiver52M/radioInterfaceResamp.cpp
index 37167ae..869acd0 100644
--- a/Transceiver52M/radioInterfaceResamp.cpp
+++ b/Transceiver52M/radioInterfaceResamp.cpp
@@ -98,8 +98,6 @@ bool RadioInterfaceResamp::init(int type)
{
float cutoff = 1.0f;
- close();
-
switch (type) {
case RadioDevice::RESAMP_64M:
resamp_inrate = RESAMP_64M_INRATE;