diff options
Diffstat (limited to 'src/include/px4.h')
-rw-r--r-- | src/include/px4.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/px4.h b/src/include/px4.h index 391972b12..22d661b17 100644 --- a/src/include/px4.h +++ b/src/include/px4.h @@ -46,19 +46,17 @@ * Building for running within the ROS environment */ #include "ros/ros.h" +#include "px4/rc_channels.h" -#define PX4_WARN ROS_WARN -#define PX4_INFO ROS_INFO -#define PX4_TOPIC(name) #name #else /* * Building for NuttX */ +#include <nuttx/config.h> #include <uORB/uORB.h> +#include <uORB/topics/rc_channels.h> +#include <systemlib/err.h> -#define PX4_WARN warnx -#define PX4_INFO warnx -#define PX4_TOPIC(name) ORB_ID(name) #endif #include "../platforms/px4_defines.h" |