summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/voice_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 3318bbe..a3dc1e1 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -457,7 +457,7 @@ static void NORETURN_ATTR voice_thread(void)
if ((dest = (char *)voice_buf_get()) != NULL)
break;
- yield();
+ sleep(0);
}
voice_buf_commit(dsp_process(td.dsp, dest, td.src, td.count)