summaryrefslogtreecommitdiff
path: root/cmd_fir1p.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-05-20 11:35:52 +0100
committerFreeArtMan <dos21h@gmail.com>2017-05-20 11:35:52 +0100
commitc03a145002445eaaa814e3f133c9a28f991bb860 (patch)
tree82e8998563ac414488c0b86f01776997fd790b6c /cmd_fir1p.c
parentaa7eba595d41abc7342f886138b55e130b2b15a3 (diff)
downloadagni-c03a145002445eaaa814e3f133c9a28f991bb860.tar.gz
agni-c03a145002445eaaa814e3f133c9a28f991bb860.zip
Added new commands FIR-finite impulse response filter,RAND-fairly random number,RANDC-libc random numbder
Diffstat (limited to 'cmd_fir1p.c')
-rw-r--r--cmd_fir1p.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_fir1p.c b/cmd_fir1p.c
index d56eb1c..b011719 100644
--- a/cmd_fir1p.c
+++ b/cmd_fir1p.c
@@ -75,6 +75,7 @@ void *cmd_fir1p(void *data)
for (i=0;i<count;i++)
{
+ //cut to max size 512
char str_double[16];
snprintf(str_double, 16, "%.3f ", output[i]);
out_result = sdscat(out_result, str_double);