summaryrefslogtreecommitdiff
path: root/test/ui_tui_waterfall.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
committerFreeArtMan <dos21h@gmail.com>2015-12-30 19:20:20 +0000
commita9d66c6a759515c7061e2e8aac661eeb0082ea1e (patch)
treeda0bfb62d614fcad482cc5267f0a4348cbde5256 /test/ui_tui_waterfall.c
parent03a2ac933087722b3754f5eca349b26193e9bffd (diff)
downloadradiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.tar.gz
radiola-a9d66c6a759515c7061e2e8aac661eeb0082ea1e.zip
More configurable sources. Move some math functions to core/math.h. Move delay filter from sdr_fm
Diffstat (limited to 'test/ui_tui_waterfall.c')
-rw-r--r--test/ui_tui_waterfall.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/ui_tui_waterfall.c b/test/ui_tui_waterfall.c
index cc63fc3..82362c1 100644
--- a/test/ui_tui_waterfall.c
+++ b/test/ui_tui_waterfall.c
@@ -8,14 +8,14 @@
#include <hw/hw.h>
#include <hw/sdr.h>
-#define SAMPLE_RATE 2048000
-
-#define CENTER_FREQ 445500000
-#define FFT_LEVEL 10
-#define FFT_SIZE (1 << FFT_LEVEL)
-#define SAMPLE_LENGHT (2 * FFT_SIZE)
-#define PRESCALE 8
-#define POSTSCALE 2
+#define SAMPLE_RATE 2048000
+
+#define CENTER_FREQ 445500000
+#define FFT_LEVEL 10
+#define FFT_SIZE (1 << FFT_LEVEL)
+#define SAMPLE_LENGHT (2 * FFT_SIZE)
+#define PRESCALE 8
+#define POSTSCALE 2
int16_t* Sinewave;