1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 11:51:47 -05:00

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

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: