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
1 changed files with 2 additions and 0 deletions

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