1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00

DSD demod plugin: DMR refactoring: show busy slot(s) in slot text display

This commit is contained in:
f4exb 2016-08-29 01:33:12 +02:00
parent c5ad25b19d
commit 48d60da008

View File

@ -417,7 +417,7 @@ void DSDDemodGUI::formatStatusText()
case DSDcc::DSDDecoder::DSDSyncDMRVoiceP: case DSDcc::DSDDecoder::DSDSyncDMRVoiceP:
if (m_signalFormat != signalFormatDMR) if (m_signalFormat != signalFormatDMR)
{ {
strcpy(m_formatStatusText, "Sta: __ S1: ______ S2: ______"); strcpy(m_formatStatusText, "Sta: __ S1: _______ S2: _______");
} }
switch (m_dsdDemod->getDecoder().getStationType()) switch (m_dsdDemod->getDecoder().getStationType())
@ -433,8 +433,8 @@ void DSDDemodGUI::formatStatusText()
break; break;
} }
memcpy(&m_formatStatusText[12], m_dsdDemod->getDecoder().getSlot0Text(), 6); memcpy(&m_formatStatusText[12], m_dsdDemod->getDecoder().getSlot0Text(), 7);
memcpy(&m_formatStatusText[23], m_dsdDemod->getDecoder().getSlot1Text(), 6); memcpy(&m_formatStatusText[24], m_dsdDemod->getDecoder().getSlot1Text(), 7);
m_signalFormat = signalFormatDMR; m_signalFormat = signalFormatDMR;
break; break;
case DSDcc::DSDDecoder::DSDSyncDStarHeaderN: case DSDcc::DSDDecoder::DSDSyncDStarHeaderN: