CMSIS-DSP: Correction issue #1111

Incorrect DSP inline macro definitions in arm_math_types.h for the host mode.
pull/19/head
Christophe Favergeon 5 years ago
parent c73527d560
commit 814c32111f

@ -67,10 +67,8 @@ extern "C"
#elif defined (__GNUC_PYTHON__) #elif defined (__GNUC_PYTHON__)
#include <stdint.h> #include <stdint.h>
#define __ALIGNED(x) __attribute__((aligned(x))) #define __ALIGNED(x) __attribute__((aligned(x)))
#define __STATIC_FORCEINLINE static __attribute__((inline)) #define __STATIC_FORCEINLINE static inline __attribute__((always_inline))
#define __STATIC_INLINE static __attribute__((inline)) #define __STATIC_INLINE static inline
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wattributes"
#else #else
#include "cmsis_compiler.h" #include "cmsis_compiler.h"

Loading…
Cancel
Save