diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 42f7cf0..9e0e15f 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -765,14 +765,17 @@ void AppFrame::OnIdle(wxIdleEvent& event) { waterfallCanvas->processInputQueue(); demodWaterfallCanvas->processInputQueue(); -#ifndef _WIN32 - usleep(5000); -#endif if (this->IsVisible()) { waterfallCanvas->DoPaint(); demodWaterfallCanvas->DoPaint(); } +#ifndef _WIN32 + else { + usleep(15000); + } +#endif + event.RequestMore(); }