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

DSD demod: added extended search frame status

This commit is contained in:
f4exb 2016-08-12 02:28:54 +02:00
parent 444f40b659
commit 3f7667dffa
2 changed files with 4 additions and 3 deletions

View File

@ -40,8 +40,9 @@ unsigned int DSDDemodBaudRates::m_rates[] = {2400, 4800};
unsigned int DSDDemodBaudRates::m_nb_rates = 2;
unsigned int DSDDemodBaudRates::m_defaultRateIndex = 1; // 4800 bauds
char DSDDemodGUI::m_frameTypes[][3] = {
char DSDDemodGUI::m_dpmrFrameTypes[][3] = {
"--", // no frame sync
"XS", // no frame - extensive search of FS2
"HD", // header frame
"PY", // payload super frame not categorized yet
"VO", // voice super frame
@ -450,7 +451,7 @@ void DSDDemodGUI::formatStatusText()
break;
case DSDcc::DSDDecoder::DSDSyncDPMR:
sprintf(m_formatStatusText, "%s CC: %04d",
m_frameTypes[(int) m_dsdDemod->getDecoder().getDPMRDecoder().getFrameType()],
m_dpmrFrameTypes[(int) m_dsdDemod->getDecoder().getDPMRDecoder().getFrameType()],
m_dsdDemod->getDecoder().getDPMRDecoder().getColorCode());
m_signalFormat = signalFormatDPMR;
break;

View File

@ -101,7 +101,7 @@ private:
MovingAverage<Real> m_channelPowerDbAvg;
int m_tickCount;
static char m_frameTypes[7][3];
static char m_dpmrFrameTypes[8][3];
explicit DSDDemodGUI(PluginAPI* pluginAPI, DeviceAPI *deviceAPI, QWidget* parent = NULL);
virtual ~DSDDemodGUI();