mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-06-25 13:35:23 -04:00
DSD demod: added DPMR frame synchronization indicator
This commit is contained in:
parent
951b6fa16c
commit
a1b045b1db
@ -442,9 +442,10 @@ void DSDDemodGUI::formatStatusText()
|
|||||||
case DSDcc::DSDDecoder::DSDSyncDPMR:
|
case DSDcc::DSDDecoder::DSDSyncDPMR:
|
||||||
if (m_signalFormat != signalFormatDPMR)
|
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;
|
m_signalFormat = signalFormatDPMR;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user