Fix arm math header

This commit is contained in:
Mario Hüttel 2020-02-15 01:03:19 +01:00
parent ebb95b902c
commit 723afd9f56

View File

@ -267,7 +267,7 @@
#define __CMSIS_GENERIC /* disable NVIC and Systick functions */ #define __CMSIS_GENERIC /* disable NVIC and Systick functions */
#if defined (ARM_MATH_CM4) #if defined (ARM_MATH_CM4)
#include "core_cm4.h" #include <cmsis/core_cm4.h>
#elif defined (ARM_MATH_CM3) #elif defined (ARM_MATH_CM3)
#include "core_cm3.h" #include "core_cm3.h"
#elif defined (ARM_MATH_CM0) #elif defined (ARM_MATH_CM0)
@ -282,8 +282,8 @@
#endif #endif
#undef __CMSIS_GENERIC /* enable NVIC and Systick functions */ #undef __CMSIS_GENERIC /* enable NVIC and Systick functions */
#include "string.h" #include <string.h>
#include "math.h" #include <math.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {