forked from Archive/PX4-Autopilot
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:
parent
f0c905ae43
commit
59ca22ee6d
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue