mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-02-03 09:44:26 -05:00
fix non-lab build
This commit is contained in:
parent
e9f8869312
commit
cf5cefbf6c
@ -912,7 +912,7 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// basic demodulators
|
// basic demodulators
|
||||||
if (dSelection != -1 && dSelection != demod->getDemodulatorType()) {
|
if (dSelection != "" && dSelection != demod->getDemodulatorType()) {
|
||||||
demod->setDemodulatorType(dSelection);
|
demod->setDemodulatorType(dSelection);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -974,7 +974,7 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// basic demodulators
|
// basic demodulators
|
||||||
if (dSelection != -1 && dSelection != mgr->getLastDemodulatorType()) {
|
if (dSelection != "" && dSelection != mgr->getLastDemodulatorType()) {
|
||||||
mgr->setLastDemodulatorType(dSelection);
|
mgr->setLastDemodulatorType(dSelection);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -312,7 +312,7 @@ int DemodulatorInstance::getDemodulatorLock() {
|
|||||||
return ((ModemDigital *)cModem)->getDemodulatorLock();
|
return ((ModemDigital *)cModem)->getDemodulatorLock();
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DemodulatorInstance::setDemodulatorCons(int demod_cons_in) {
|
void DemodulatorInstance::setDemodulatorCons(int demod_cons_in) {
|
||||||
@ -327,7 +327,7 @@ int DemodulatorInstance::getDemodulatorCons() {
|
|||||||
if (cModem && cModem->getType() == "digital") {
|
if (cModem && cModem->getType() == "digital") {
|
||||||
return ((ModemDigital *)cModem)->getDemodulatorCons();
|
return ((ModemDigital *)cModem)->getDemodulatorCons();
|
||||||
}
|
}
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DemodulatorInstance::setBandwidth(int bw) {
|
void DemodulatorInstance::setBandwidth(int bw) {
|
||||||
|
Loading…
Reference in New Issue
Block a user