LMSDevice: Fix setup failure with LimeSuite > 18.04.1

Fixes: https://github.com/myriadrf/LimeSuite/issues/184

Change-Id: Ia9f37995cd10d19d6820e3e12b8ee8f3efbff5d4
This commit is contained in:
Pau Espin 2018-05-08 19:18:57 +02:00 committed by Harald Welte
parent 587916e810
commit 0c27938d44
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ int LMSDevice::open(const std::string &args, int ref, bool swap_channels)
for (i=0; i<chans; i++) {
if (LMS_SetLPFBW(m_lms_dev, LMS_CH_RX, i, 1.4001e6) < 0)
goto out_close;
if (LMS_SetLPFBW(m_lms_dev, LMS_CH_TX, i, 5e6) < 0)
if (LMS_SetLPFBW(m_lms_dev, LMS_CH_TX, i, 5.2e6) < 0)
goto out_close;
LOG(INFO) << "Calibrating chan " << i;
if (LMS_Calibrate(m_lms_dev, LMS_CH_RX, i, LMS_CALIBRATE_BW_HZ, 0) < 0)