1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

LimeRFE: save Rx/Tx mode in m_rfeBoardState. Fixes #1557

This commit is contained in:
f4exb 2023-01-14 20:42:31 +01:00
parent 2552160f8f
commit 0a257f393e

View File

@ -313,6 +313,7 @@ int LimeRFE::setRx(bool rxOn)
if (rc == 0)
{
m_rxOn = rxOn;
m_rfeBoardState.mode = mode;
qDebug("LimeRFE::setRx: switch %s mode: %d", rxOn ? "on" : "off", mode);
}
else
@ -351,6 +352,7 @@ int LimeRFE::setTx(bool txOn)
if (rc == 0)
{
m_txOn = txOn;
m_rfeBoardState.mode = mode;
qDebug("LimeRFE::setTx: switch %s mode: %d", txOn ? "on" : "off", mode);
}
else