From 4696c9dd56df5cd2d0fe6d62abe1f76757abd738 Mon Sep 17 00:00:00 2001 From: Benjamin Menkuec Date: Wed, 9 Aug 2023 13:14:18 +0200 Subject: [PATCH] fix variable names in in plutosdrmimosettings.cpp --- .../samplemimo/plutosdrmimo/plutosdrmimosettings.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/samplemimo/plutosdrmimo/plutosdrmimosettings.cpp b/plugins/samplemimo/plutosdrmimo/plutosdrmimosettings.cpp index 5a0cfe837b..90c9ca6bbb 100644 --- a/plugins/samplemimo/plutosdrmimo/plutosdrmimosettings.cpp +++ b/plugins/samplemimo/plutosdrmimo/plutosdrmimosettings.cpp @@ -207,18 +207,18 @@ bool PlutoSDRMIMOSettings::deserialize(const QByteArray& data) } // Rx1 - d.readU32(50, &m_rx0Gain, 40); + d.readU32(50, &m_rx1Gain, 40); d.readS32(51, &intval, 0); if ((intval >= 0) && (intval < (int) RFPATHRX_END)) { - m_rx0AntennaPath = (RFPathRx) intval; + m_rx1AntennaPath = (RFPathRx) intval; } else { - m_rx0AntennaPath = RFPATHRX_A_BAL; + m_rx1AntennaPath = RFPATHRX_A_BAL; } d.readS32(52, &intval, 0); if ((intval >= 0) && (intval < (int) GAIN_END)) { - m_rx0GainMode = (GainMode) intval; + m_rx1GainMode = (GainMode) intval; } else { - m_rx0GainMode = GAIN_MANUAL; + m_rx1GainMode = GAIN_MANUAL; } // Tx