summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ui_gl_waterfall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ui_gl_waterfall.c b/test/ui_gl_waterfall.c
index cbc2ec4..3eb3f1f 100644
--- a/test/ui_gl_waterfall.c
+++ b/test/ui_gl_waterfall.c
@@ -307,10 +307,10 @@ int main()
sdr_get_samples( sample_buf, sample_len );
//do fft
- //simple_fft( sample_buf, sample_len/2 );
+ simple_fft( sample_buf, sample_len/2 );
//prepare to show on the screen
- if (normalise( sample_buf, sample_len, buf, buf_len ) == -1)
+ if (normalise( sample_buf, sample_len/2, buf, buf_len ) == -1)
{
printf("Cannot normalise\n");
}