mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
DSD decoder plugin: show color code in DMR specific status area
This commit is contained in:
parent
33b7177445
commit
376e2c05b4
@ -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); }
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user