From 83c90746cac3f90113facd476f27d68cf8410a98 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 3 Oct 2015 23:45:23 +0100 Subject: GUI version improvment --- test/ui_gl_waterfall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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"); } -- cgit v1.2.3