Added a FFT framerate setting

This commit is contained in:
Ryzerth
2021-07-27 01:57:12 +02:00
parent bd744d07ba
commit 21f4c40e7f
5 changed files with 28 additions and 7 deletions

View File

@ -40,19 +40,15 @@ public:
_config->release(true);
squelch.init(_vfo->output, squelchLevel);
c2s.init(&squelch.out);
}
void start() {
squelch.start();
c2s.start();
running = true;
}
void stop() {
squelch.stop();
c2s.stop();
running = false;
}
@ -88,7 +84,7 @@ public:
}
dsp::stream<dsp::stereo_t>* getOutput() {
return &c2s.out;
return (dsp::stream<dsp::stereo_t>*)&squelch.out;
}
void showMenu() {
@ -137,7 +133,6 @@ private:
VFOManager::VFO* _vfo;
dsp::Squelch squelch;
dsp::ComplexToStereo c2s;
ConfigManager* _config;