mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-21 07:09:03 -04:00
Add delta lock -- lock modem relative to center frequency
This commit is contained in:
@@ -186,6 +186,9 @@ void TuningCanvas::StepTuner(ActiveState state, int exponent, bool up) {
|
||||
activeDemod->setTracking(true);
|
||||
activeDemod->setFollow(true);
|
||||
activeDemod->setFrequency(freq);
|
||||
if (activeDemod->isDeltaLock()) {
|
||||
activeDemod->setDeltaLockOfs(activeDemod->getFrequency() - wxGetApp().getFrequency());
|
||||
}
|
||||
activeDemod->updateLabel(freq);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user