diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-08 10:37:01 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-08 10:37:01 +0100 |
commit | 87df7c3243412d4fc7a0c40967b2abe078f7a0b2 (patch) | |
tree | 63e442c07a3e709ab76f456f366f437c0552d700 /src/platforms/px4_middleware.h | |
parent | 65629d09d5e2424c6fcaf261c95f6d6995c4afd7 (diff) | |
download | px4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.tar.gz px4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.tar.bz2 px4-firmware-87df7c3243412d4fc7a0c40967b2abe078f7a0b2.zip |
move vehicle_attitude_setpoint to msg format
Diffstat (limited to 'src/platforms/px4_middleware.h')
-rw-r--r-- | src/platforms/px4_middleware.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/px4_middleware.h b/src/platforms/px4_middleware.h index c1465b4b1..b0bc40417 100644 --- a/src/platforms/px4_middleware.h +++ b/src/platforms/px4_middleware.h @@ -53,13 +53,13 @@ __EXPORT uint64_t get_time_micros(); /** * Returns true if the app/task should continue to run */ -bool ok() { return ros::ok(); } +inline bool ok() { return ros::ok(); } #else extern bool task_should_exit; /** * Returns true if the app/task should continue to run */ -bool ok() { return !task_should_exit; } +inline bool ok() { return !task_should_exit; } #endif class Rate |