Test for CortexM4 and FPU rather than the ARM mathlib-internal define.

This commit is contained in:
px4dev 2013-01-08 08:26:04 -08:00
parent ee5cd2c95a
commit 01ea8eb54f
2 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,9 @@
#pragma once
#ifdef ARM_MATH_CM4
#include <nuttx/config.h>
#if defined(CONFIG_ARCH_CORTEXM4) && defined(CONFIG_ARCH_FPU)
#include "arm/Matrix.hpp"
#else
#include "generic/Matrix.hpp"

View File

@ -39,7 +39,9 @@
#pragma once
#ifdef ARM_MATH_CM4
#include <nuttx/config.h>
#if defined(CONFIG_ARCH_CORTEXM4) && defined(CONFIG_ARCH_FPU)
#include "arm/Vector.hpp"
#else
#include "generic/Vector.hpp"