summaryrefslogtreecommitdiff
path: root/apps/plugins/fft/fft.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fft/fft.c')
-rw-r--r--apps/plugins/fft/fft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 93568ab156..f57d2ab4dd 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -1057,6 +1057,8 @@ void input_thread_entry(void)
input[fft_idx] = left;
fft_idx++;
+ input[fft_idx] = 0;
+ fft_idx++;
if (fft_idx == ARRAYSIZE_IN)
break;