diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/talk.c b/apps/talk.c index 37a4482556..8507a89541 100644 --- a/apps/talk.c +++ b/apps/talk.c @@ -776,6 +776,9 @@ static int _talk_spell(const char* spell, size_t len, bool enqueue) talk_id(VOICE_PAUSE, true); else if (c == '/') talk_id(VOICE_CHAR_SLASH, true); + + while (QUEUE_LEVEL == QUEUE_SIZE - 1) /* queue full - busy loop */ + yield(); } return 0; } |