diff options
Diffstat (limited to 'filter/test.cpp')
-rw-r--r-- | filter/test.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/filter/test.cpp b/filter/test.cpp deleted file mode 100644 index 24fdb72..0000000 --- a/filter/test.cpp +++ /dev/null @@ -1,14 +0,0 @@ -#include <cstdint> - -using adcsample_t = uint16_t; -__attribute__((section(".process_data"))) -void process_data(adcsample_t *samples, unsigned int size); - -//////////////////////////////////////////////////////////////////////////////// - -void process_data(adcsample_t *samples, unsigned int size) -{ - for (unsigned int i = 0; i < size; i++) - samples[i] /= 2; -} - |