mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 03:02:29 -04:00
LimeRFE: save Rx/Tx mode in m_rfeBoardState. Fixes #1557
This commit is contained in:
parent
2552160f8f
commit
0a257f393e
@ -313,6 +313,7 @@ int LimeRFE::setRx(bool rxOn)
|
|||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
{
|
{
|
||||||
m_rxOn = rxOn;
|
m_rxOn = rxOn;
|
||||||
|
m_rfeBoardState.mode = mode;
|
||||||
qDebug("LimeRFE::setRx: switch %s mode: %d", rxOn ? "on" : "off", mode);
|
qDebug("LimeRFE::setRx: switch %s mode: %d", rxOn ? "on" : "off", mode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -351,6 +352,7 @@ int LimeRFE::setTx(bool txOn)
|
|||||||
if (rc == 0)
|
if (rc == 0)
|
||||||
{
|
{
|
||||||
m_txOn = txOn;
|
m_txOn = txOn;
|
||||||
|
m_rfeBoardState.mode = mode;
|
||||||
qDebug("LimeRFE::setTx: switch %s mode: %d", txOn ? "on" : "off", mode);
|
qDebug("LimeRFE::setTx: switch %s mode: %d", txOn ? "on" : "off", mode);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user