check CONFIG_ARCH_MATH_H

This commit is contained in:
Christian Rauch
2018-12-21 05:43:21 -08:00
committed by David Sidrane
parent 0764c76836
commit 92117da3a8
+4
View File
@@ -41,6 +41,10 @@
#include <px4_log.h>
#if defined(__PX4_NUTTX) && !defined(CONFIG_ARCH_MATH_H)
#error CONFIG_ARCH_MATH_H is required to use math definitions and functions
#endif
/****************************************************************************
* Defines for all platforms.
****************************************************************************/