| 2364 | } |
| 2365 | |
| 2366 | void AppFrame::handleSpectrumWaterfall() { |
| 2367 | if (spectrumCanvas->getViewState() && |
| 2368 | abs(wxGetApp().getFrequency() - spectrumCanvas->getCenterFrequency()) > (wxGetApp().getSampleRate() / 2)) { |
| 2369 | spectrumCanvas->setCenterFrequency(wxGetApp().getFrequency()); |
| 2370 | waterfallCanvas->setCenterFrequency(wxGetApp().getFrequency()); |
| 2371 | } |
| 2372 | } |
| 2373 | |
| 2374 | void AppFrame::handleDemodWaterfallSpectrum() { |
| 2375 | if (demodWaterfallCanvas && wxGetApp().getFrequency() != demodWaterfallCanvas->getCenterFrequency()) { |
nothing calls this directly
no test coverage detected