1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

fix variable names in in plutosdrmimosettings.cpp

This commit is contained in:
Benjamin Menkuec 2023-08-09 13:14:18 +02:00
parent 83834674c0
commit 4696c9dd56

View File

@ -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