Ref T422, functions to set XPDR mode

This commit is contained in:
Klaus Basan
2018-11-04 17:31:25 +01:00
parent 951247dc0b
commit 67dcd11e73
4 changed files with 16 additions and 3 deletions

View File

@@ -108,6 +108,14 @@ namespace BlackMisc
return StateStandby;
}
bool CTransponder::setTransponderMode(CTransponder::TransponderMode mode)
{
const int m = static_cast<int>(mode);
if (m == m_transponderMode) { return false; }
m_transponderMode = m;
return true;
}
QString CTransponder::getTransponderCodeFormatted() const
{
QString f("0000");