diff options
-rw-r--r-- | apps/buffering.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index e07636d4eb..c3687e83a3 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -1431,6 +1431,8 @@ void buffering_thread(void) if (filling) { if (data_counters.remaining > 0 && BUF_USED < buffer_len) filling = fill_buffer(); + else if (data_counters.remaining == 0) + filling = false; } else if (ev.id == SYS_TIMEOUT) { |