mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 18:58:52 +08:00
px4.h: remove this include, causes compile problems on GCC 6.1.0
It causes problems because it includes px4_nodehandle.h which in turn includes <functional>, and this is not available on NuttX
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include <px4.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <lib/mathlib/mathlib.h>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <px4.h>
|
||||
#include <px4_defines.h>
|
||||
#include <stdint.h>
|
||||
#include <pthread.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "log_writer.h"
|
||||
#include "array.h"
|
||||
#include <px4.h>
|
||||
#include <px4_defines.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <version/version.h>
|
||||
|
||||
@@ -37,7 +37,8 @@
|
||||
* PX4 Middleware Wrapper NuttX Implementation
|
||||
*/
|
||||
|
||||
#include <px4.h>
|
||||
#include <px4_defines.h>
|
||||
#include <px4_middleware.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user