Move processor call out of scope canvas

This commit is contained in:
Charles J. Cliffe 2015-08-08 14:52:01 -04:00
parent 8b48b4e449
commit aa6e612d6a
2 changed files with 1 additions and 2 deletions

View File

@ -679,7 +679,7 @@ void AppFrame::OnTimer(wxTimerEvent& event) {
scopeCanvas->setPPMMode(demodTuner->isAltDown());
wxGetApp().getScopeProcessor()->run();
wxGetApp().getSpectrumDistributor()->run();
SpectrumVisualProcessor *proc = wxGetApp().getSpectrumProcesor();

View File

@ -52,7 +52,6 @@ void ScopeCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
wxPaintDC dc(this);
const wxSize ClientSize = GetClientSize();
wxGetApp().getScopeProcessor()->run();
if (!inputData.empty()) {
ScopeRenderData *avData;
inputData.pop(avData);