From d118ba9e0685f4d7dff55ab462b195ac0ff1af8a Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 6 May 2020 13:01:07 +0200 Subject: [PATCH] comment out unused iceIIR_Butterworth --- client/src/ui.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/ui.c b/client/src/ui.c index 5d0e28aec..0b0ffdb56 100644 --- a/client/src/ui.c +++ b/client/src/ui.c @@ -485,6 +485,8 @@ void memcpy_filter_emoji(void *dest, const void *src, size_t n, emojiMode_t mode } } +/* +// If reactivated, beware it doesn't compile on Android (DXL) void iceIIR_Butterworth(int *data, const size_t len) { int *output = (int *) calloc(sizeof(int) * len, sizeof(uint8_t)); @@ -533,6 +535,7 @@ void iceIIR_Butterworth(int *data, const size_t len) { free(output); } +*/ void iceSimple_Filter(int *data, const size_t len, uint8_t k) { // ref: http://www.edn.com/design/systems-design/4320010/A-simple-software-lowpass-filter-suits-embedded-system-applications