plugins/fft: do not starve other threads

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 290b06c86952d05e32c6ac2b0cfea71880764b51
Author: Skye <[email protected]>
Date:   Wed Aug 5 23:34:39 2026 +0900

    plugins/fft: do not starve other threads
    
    Change-Id: If8149086ed6e946d300ecdecf1f47dcf294822cb

diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 18aefe2503..52a3d277fa 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -1284,7 +1284,7 @@ enum plugin_status plugin_start(const void* parameter)
             rb->yield(); /* tmo = 0 won't yield */
         }
 
-        int button = pluginlib_getaction(TIMEOUT_NOBLOCK, plugin_contexts, ARRAYLEN(plugin_contexts));
+        int button = pluginlib_getaction(delay, plugin_contexts, ARRAYLEN(plugin_contexts));
 
         switch (button)
         {
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.