From 31779496bd5453b719b3229b344ae52137f65005 Mon Sep 17 00:00:00 2001 From: DimitryP6 <111515533+DimitryP6@users.noreply.github.com> Date: Thu, 9 Jan 2025 20:08:10 +0300 Subject: [PATCH] Delete middleware/simple_ema.c --- middleware/simple_ema.c | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 middleware/simple_ema.c diff --git a/middleware/simple_ema.c b/middleware/simple_ema.c deleted file mode 100644 index c1912a0..0000000 --- a/middleware/simple_ema.c +++ /dev/null @@ -1,8 +0,0 @@ -#include - -// Exponential Moving Average Lowpass Filter -void ema_filter(float current_value, float *previous_ema, float alpha) -{ - *previous_ema = - (alpha * current_value) + ((1 - alpha) * (*previous_ema)); -}