fixed fft smoothing not set on startup when enabled

This commit is contained in:
AlexandreRouma 2023-03-31 01:38:14 +02:00 committed by GitHub
parent 2eb030dd83
commit 800a8b22c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ namespace displaymenu {
gui::waterfall.setFFTHold(fftHold); gui::waterfall.setFFTHold(fftHold);
fftSmoothing = core::configManager.conf["fftSmoothing"]; fftSmoothing = core::configManager.conf["fftSmoothing"];
fftSmoothingSpeed = core::configManager.conf["fftSmoothingSpeed"]; fftSmoothingSpeed = core::configManager.conf["fftSmoothingSpeed"];
gui::waterfall.setFFTSmoothing(fftSmoothing);
updateFFTSpeeds(); updateFFTSpeeds();
// Define and load UI scales // Define and load UI scales