mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-23 04:08:36 -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
|
||||
// basic demodulators
|
||||
if (dSelection != -1 && dSelection != demod->getDemodulatorType()) {
|
||||
if (dSelection != "" && dSelection != demod->getDemodulatorType()) {
|
||||
demod->setDemodulatorType(dSelection);
|
||||
}
|
||||
#endif
|
||||
@ -974,7 +974,7 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
||||
}
|
||||
#else
|
||||
// basic demodulators
|
||||
if (dSelection != -1 && dSelection != mgr->getLastDemodulatorType()) {
|
||||
if (dSelection != "" && dSelection != mgr->getLastDemodulatorType()) {
|
||||
mgr->setLastDemodulatorType(dSelection);
|
||||
}
|
||||
#endif
|
||||
|
@ -312,7 +312,7 @@ int DemodulatorInstance::getDemodulatorLock() {
|
||||
return ((ModemDigital *)cModem)->getDemodulatorLock();
|
||||
}
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DemodulatorInstance::setDemodulatorCons(int demod_cons_in) {
|
||||
@ -327,7 +327,7 @@ int DemodulatorInstance::getDemodulatorCons() {
|
||||
if (cModem && cModem->getType() == "digital") {
|
||||
return ((ModemDigital *)cModem)->getDemodulatorCons();
|
||||
}
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void DemodulatorInstance::setBandwidth(int bw) {
|
||||
|
Loading…
Reference in New Issue
Block a user