frequencydemod: set modulation index based on tuner width

This commit is contained in:
Mike Walters
2020-05-27 14:07:12 +01:00
parent bfecbe73b7
commit 6797a24beb
3 changed files with 3 additions and 3 deletions

View File

@@ -343,7 +343,7 @@ void SpectrogramPlot::tunerMoved()
{
tunerTransform->setFrequency(getTunerPhaseInc());
tunerTransform->setTaps(getTunerTaps());
tunerTransform->setRelativeBandwith(tuner.deviation() * 2.0 / getStride());
tunerTransform->setRelativeBandwith(tuner.deviation() * 2.0 / height());
// TODO: for invalidating traceplot cache, this shouldn't really go here
QPixmapCache::clear();