DSD demod: added DPMR frame synchronization indicator

This commit is contained in:
f4exb 2016-08-10 01:21:35 +02:00
parent 951b6fa16c
commit a1b045b1db
1 changed files with 3 additions and 2 deletions

View File

@ -442,9 +442,10 @@ void DSDDemodGUI::formatStatusText()
case DSDcc::DSDDecoder::DSDSyncDPMR:
if (m_signalFormat != signalFormatDPMR)
{
memcpy(&m_formatStatusText, "CC: ", 4);
memcpy(&m_formatStatusText, " CC: ", 6);
}
sprintf(&m_formatStatusText[4], "%04d", m_dsdDemod->getDecoder().getDPMRDecoder().getColorCode());
sprintf(&m_formatStatusText[6], "%04d", m_dsdDemod->getDecoder().getDPMRDecoder().getColorCode());
m_formatStatusText[0] = (m_dsdDemod->getDecoder().getDPMRDecoder().hasSync() ? 'S' : '-');
m_signalFormat = signalFormatDPMR;
break;
default: