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:
Beat Küng 2017-01-03 09:41:57 +01:00
parent f0c905ae43
commit 59ca22ee6d
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,3 @@
#include <px4.h>
#include <sys/ioctl.h>
#include <lib/mathlib/mathlib.h>

View File

@ -33,7 +33,7 @@
#pragma once
#include <px4.h>
#include <px4_defines.h>
#include <stdint.h>
#include <pthread.h>
#include <drivers/drv_hrt.h>

View File

@ -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>

View File

@ -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>