1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

DSD decoder plugin: show color code in DMR specific status area

This commit is contained in:
f4exb 2016-05-03 02:15:10 +02:00
parent 33b7177445
commit 376e2c05b4
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,7 @@ public:
const char *getModulationText() const { return m_decoder.getModulationText(); }
const char *getSlot0Text() const { return m_decoder.getSlot0Text(); }
const char *getSlot1Text() const { return m_decoder.getSlot1Text(); }
unsigned char getColorCode() const { return m_decoder.getColorCode(); }
const DSDcc::DSDDstar& getDStarDecoder() const { return m_decoder.getDStarDecoder(); }
void setAudioGain(float gain) { m_decoder.setAudioGain(gain); }

View File

@ -384,9 +384,8 @@ void DSDDemodGUI::formatStatusText()
memcpy(&m_formatStatusText[18], m_dsdDemod->getDecoder().getSlot0Text(), 7);
m_formatStatusText[25] = ' ';
memcpy(&m_formatStatusText[26], m_dsdDemod->getDecoder().getSlot1Text(), 7);
m_formatStatusText[33] = '\0';
sprintf(&m_formatStatusText[33], " CC: %02d", m_dsdDemod->getDecoder().getColorCode());
m_signalFormat = signalFormatDMR;
break;
case DSDcc::DSDDecoder::DSDSyncDStarHeaderN:
case DSDcc::DSDDecoder::DSDSyncDStarHeaderP: