mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 03:33:33 +08:00
Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
#include <geo/geo.h>
|
||||
#include <nuttx/config.h>
|
||||
#include <px4_config.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
* @author Thomas Gubler <thomasgubler@gmail.com>
|
||||
*/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <px4_config.h>
|
||||
|
||||
#include <systemlib/param/param.h>
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
#define __CMSIS_GENERIC /* disable NVIC and Systick functions */
|
||||
|
||||
/* PX4 */
|
||||
#include <nuttx/config.h>
|
||||
#include <px4_config.h>
|
||||
#ifdef CONFIG_ARCH_CORTEXM4
|
||||
# define ARM_MATH_CM4 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user