Merge pull request #39 from juribeparada/master

Fix ADC overflow message
This commit is contained in:
Jonathan Naylor 2016-11-19 19:35:09 +00:00 committed by GitHub
commit c5a57d435d
1 changed files with 2 additions and 1 deletions

View File

@ -132,7 +132,6 @@ void CSerialPort::getStatus()
reply[4U] = uint8_t(m_modemState);
reply[5U] = m_tx ? 0x01U : 0x00U;
reply[5U] |= m_dcd ? 0x02U : 0x00U;
bool adcOverflow;
bool dacOverflow;
@ -152,6 +151,8 @@ void CSerialPort::getStatus()
if (dacOverflow)
reply[5U] |= 0x20U;
reply[5U] |= m_dcd ? 0x40U : 0x00U;
if (m_dstarEnable)
reply[6U] = dstarTX.getSpace();