diff options
author | Roman Bapst <romanbapst@yahoo.de> | 2014-09-25 10:20:15 +0200 |
---|---|---|
committer | Roman Bapst <romanbapst@yahoo.de> | 2014-09-25 10:20:15 +0200 |
commit | 96b22f1ba8980ea8e1cbc405a808ae920102f064 (patch) | |
tree | 57bfaf6946dfc3be4e430adec855fd838a5cc680 /src/modules/uORB/topics/vehicle_control_mode.h | |
parent | 81a5aeb6f5cb022e6987a1651658d9b62359cccb (diff) | |
download | px4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.tar.gz px4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.tar.bz2 px4-firmware-96b22f1ba8980ea8e1cbc405a808ae920102f064.zip |
Adapted uORB topic files to work with ROS (data stuctures are used but not the uORB functionality)
Diffstat (limited to 'src/modules/uORB/topics/vehicle_control_mode.h')
-rw-r--r-- | src/modules/uORB/topics/vehicle_control_mode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_control_mode.h b/src/modules/uORB/topics/vehicle_control_mode.h index 49e2ba4b5..b071e0fa3 100644 --- a/src/modules/uORB/topics/vehicle_control_mode.h +++ b/src/modules/uORB/topics/vehicle_control_mode.h @@ -48,7 +48,9 @@ #include <stdint.h> #include <stdbool.h> +#ifdef CONFIG_ARCH_ARM #include "../uORB.h" +#endif #include "vehicle_status.h" /** @@ -89,6 +91,8 @@ struct vehicle_control_mode_s { */ /* register this as object request broker structure */ +#ifdef CONFIG_ARCH_ARM ORB_DECLARE(vehicle_control_mode); +#endif #endif |