kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
made recorder crash fix more robust
rodzic
e60eca5d6d
commit
da1417b5ab
|
@ -476,9 +476,9 @@ private:
|
|||
sprintf(monStr, "%02d", ltm->tm_mon + 1);
|
||||
sprintf(yearStr, "%02d", ltm->tm_year + 1900);
|
||||
if (core::modComManager.getModuleName(name) == "radio") {
|
||||
int mode;
|
||||
int mode = -1;
|
||||
core::modComManager.callInterface(name, RADIO_IFACE_CMD_GET_MODE, NULL, &mode);
|
||||
modeStr = radioModeToString[mode];
|
||||
if (mode >= 0) { modeStr = radioModeToString[mode]; };
|
||||
}
|
||||
|
||||
// Replace in template
|
||||
|
|
Ładowanie…
Reference in New Issue