comment out unused iceIIR_Butterworth

This commit is contained in:
Philippe Teuwen 2020-05-06 13:01:07 +02:00
commit d118ba9e06

View file

@ -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) { void iceIIR_Butterworth(int *data, const size_t len) {
int *output = (int *) calloc(sizeof(int) * len, sizeof(uint8_t)); 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); free(output);
} }
*/
void iceSimple_Filter(int *data, const size_t len, uint8_t k) { 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 // ref: http://www.edn.com/design/systems-design/4320010/A-simple-software-lowpass-filter-suits-embedded-system-applications