mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
Test for CortexM4 and FPU rather than the ARM mathlib-internal define.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user