1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-10-01 17:26:40 -04:00

DSD demod plugin: fixed dPMR frame type display

This commit is contained in:
f4exb 2016-08-19 05:50:48 +02:00
parent 99c74a8e57
commit 2bd7f49259
2 changed files with 10 additions and 11 deletions

View File

@ -41,16 +41,15 @@ unsigned int DSDDemodBaudRates::m_nb_rates = 2;
unsigned int DSDDemodBaudRates::m_defaultRateIndex = 1; // 4800 bauds unsigned int DSDDemodBaudRates::m_defaultRateIndex = 1; // 4800 bauds
char DSDDemodGUI::m_dpmrFrameTypes[][3] = { char DSDDemodGUI::m_dpmrFrameTypes[][3] = {
"--", // no frame sync "--", // 0: no frame sync
"XS", // no frame - extensive search of FS2 "XS", // 1: no frame - extensive search of FS2
"HD", // header frame "HD", // 2: header frame
"PY", // payload super frame not categorized yet "PY", // 3: payload super frame not categorized yet
"VO", // voice super frame "VO", // 4: voice super frame
"VS", // voice super frame with slow data (SLD) "VD", // 5: voice and data superframe
"VD", // voice and data superframe "D1", // 6: data type 1 super frame
"D1", // data type 1 super frame "D2", // 7: data type 2 super frame
"D2", // data type 2 super frame "EN", // 8: end frame
"EN", // end frame
}; };
DSDDemodGUI* DSDDemodGUI::create(PluginAPI* pluginAPI, DeviceAPI *deviceAPI) DSDDemodGUI* DSDDemodGUI::create(PluginAPI* pluginAPI, DeviceAPI *deviceAPI)

View File

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