aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/TODO/maths.c
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-10 14:08:14 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-10 14:08:14 +0100
commit19737533abb3eeb90c97691618336b5cead14656 (patch)
tree01963569ac9bb4cb7e90744b06bdd6aba0560421 /src/stm32/TODO/maths.c
parent1fdac4d8ab609e8d496918929eb963be3f3a824f (diff)
parent4a740898621dcfc16fe257b6fe8695c768ec4dd6 (diff)
merge
Diffstat (limited to 'src/stm32/TODO/maths.c')
-rw-r--r--src/stm32/TODO/maths.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/stm32/TODO/maths.c b/src/stm32/TODO/maths.c
deleted file mode 100644
index 2f4444a..0000000
--- a/src/stm32/TODO/maths.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "maths.h"
-
-float clamp( float* x, float *min, float *max ){
- if (*x < *min)
- return *min;
- else if (*x > *max)
- return *max;
- else
- return *x;
-}