aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/roboclaw
diff options
context:
space:
mode:
authorJames Goppert <james.goppert@gmail.com>2014-03-16 16:14:56 -0400
committerJames Goppert <james.goppert@gmail.com>2014-03-20 12:12:42 -0400
commitfd6590cfa7e14436fa8af6a0569b6382cd39069a (patch)
tree4edc6f8aac6be73ef92519d352d77645d06decd7 /src/drivers/roboclaw
parent2c32cdf16bb02a9ae4d47b60cb32553fefb33738 (diff)
downloadpx4-firmware-fd6590cfa7e14436fa8af6a0569b6382cd39069a.tar.gz
px4-firmware-fd6590cfa7e14436fa8af6a0569b6382cd39069a.tar.bz2
px4-firmware-fd6590cfa7e14436fa8af6a0569b6382cd39069a.zip
Moved UOrbPubliction/Subscription to uORB::Publication/Subscription
Diffstat (limited to 'src/drivers/roboclaw')
-rw-r--r--src/drivers/roboclaw/RoboClaw.cpp2
-rw-r--r--src/drivers/roboclaw/RoboClaw.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/roboclaw/RoboClaw.cpp b/src/drivers/roboclaw/RoboClaw.cpp
index d65a9be36..dd5e4d3e0 100644
--- a/src/drivers/roboclaw/RoboClaw.cpp
+++ b/src/drivers/roboclaw/RoboClaw.cpp
@@ -53,7 +53,7 @@
#include <arch/board/board.h>
#include <mavlink/mavlink_log.h>
-#include <controllib/uorb/UOrbPublication.hpp>
+#include <uORB/Publication.hpp>
#include <uORB/topics/debug_key_value.h>
#include <drivers/drv_hrt.h>
diff --git a/src/drivers/roboclaw/RoboClaw.hpp b/src/drivers/roboclaw/RoboClaw.hpp
index e9f35cf95..58994d6fa 100644
--- a/src/drivers/roboclaw/RoboClaw.hpp
+++ b/src/drivers/roboclaw/RoboClaw.hpp
@@ -45,7 +45,7 @@
#include <poll.h>
#include <stdio.h>
-#include <controllib/uorb/UOrbSubscription.hpp>
+#include <uORB/Subscription.hpp>
#include <uORB/topics/actuator_controls.h>
#include <drivers/device/i2c.h>
@@ -169,7 +169,7 @@ private:
struct pollfd _controlPoll;
/** actuator controls subscription */
- control::UOrbSubscription<actuator_controls_s> _actuators;
+ uORB::Subscription<actuator_controls_s> _actuators;
// private data
float _motor1Position;