aboutsummaryrefslogtreecommitdiff
path: root/include/px4.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-11-05 15:03:00 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-11-05 15:03:00 +0100
commit1e9f431cf1d93b64f26fb9c3e42329e7237bad0e (patch)
tree03b911ae7cffc68c1bb7db939d26769e7b360cfb /include/px4.h
parent53a40dc986bfd359dc193a9b48e4799033a321b1 (diff)
downloadpx4-firmware-1e9f431cf1d93b64f26fb9c3e42329e7237bad0e.tar.gz
px4-firmware-1e9f431cf1d93b64f26fb9c3e42329e7237bad0e.tar.bz2
px4-firmware-1e9f431cf1d93b64f26fb9c3e42329e7237bad0e.zip
ros example: send rc_channels message
Diffstat (limited to 'include/px4.h')
-rw-r--r--include/px4.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/px4.h b/include/px4.h
index abc10276f..4684cd256 100644
--- a/include/px4.h
+++ b/include/px4.h
@@ -38,10 +38,16 @@
*/
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
+/*
+ * Building for running within the ROS environment
+ */
#include "ros/ros.h"
#define px4_warnx ROS_WARN
#define px4_infox ROS_INFO
#else
+/*
+ * Building for NuttX
+ */
#define px4_warnx warnx
#define px4_infox warnx
#endif