diff options
Diffstat (limited to 'include/px4.h')
-rw-r--r-- | include/px4.h | 6 |
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 |