mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-05 00:41:17 -05:00
OSX idle throttle
This commit is contained in:
parent
e04b12662f
commit
709ab4b7d6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user