summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-10-03 23:45:23 +0100
committerFreeArtMan <dos21h@gmail.com>2015-10-03 23:45:23 +0100
commit83c90746cac3f90113facd476f27d68cf8410a98 (patch)
treeb9e9741c0b6ba766067ddfe28c1afcaff0c67792
parent992bed5fbbbe47917e862ef6a4aee3921bdf4abb (diff)
downloadradiola-83c90746cac3f90113facd476f27d68cf8410a98.tar.gz
radiola-83c90746cac3f90113facd476f27d68cf8410a98.zip
GUI version improvment
-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");
}