mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-12 18:58:46 -04:00
OSX idle throttle
This commit is contained in:
@@ -775,6 +775,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
|
||||
if (this->IsVisible()) {
|
||||
waterfallCanvas->DoPaint();
|
||||
demodWaterfallCanvas->DoPaint();
|
||||
#ifdef __APPLE__
|
||||
usleep(5000);
|
||||
#endif
|
||||
} else {
|
||||
#ifndef _WIN32
|
||||
usleep(15000);
|
||||
|
||||
Reference in New Issue
Block a user