diff --git a/MotorControl/low_level.c b/MotorControl/low_level.c index 8e3a10fe..4c1dbfd7 100644 --- a/MotorControl/low_level.c +++ b/MotorControl/low_level.c @@ -1,9 +1,16 @@ /* Includes ------------------------------------------------------------------*/ + +// Because of broken cmsis_os.h, we need to include arm_math first, +// otherwise chip specific defines are ommited +#include //Sets up the correct chip specifc defines required by arm_math +#define ARM_MATH_CM4 +#include + #include -#include -#include #include +#include +#include #include #include