aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io/px4io.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-08-17 10:46:11 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-08-17 10:46:11 +0200
commitca44efab7c0fb0d965829a445f7dc79a5658fd88 (patch)
tree9a9893347b362213700d80dc4327a51d72ee366f /src/drivers/px4io/px4io.cpp
parentab9b234893448237d84b4e1f95b807be3a68e98f (diff)
parent5a5e1a976ed74efdd3e660c8739d051fd1f847e4 (diff)
downloadpx4-firmware-ca44efab7c0fb0d965829a445f7dc79a5658fd88.tar.gz
px4-firmware-ca44efab7c0fb0d965829a445f7dc79a5658fd88.tar.bz2
px4-firmware-ca44efab7c0fb0d965829a445f7dc79a5658fd88.zip
Merge remote-tracking branch 'upstream/master' into obcfailsafe
Diffstat (limited to 'src/drivers/px4io/px4io.cpp')
-rw-r--r--src/drivers/px4io/px4io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index afb03789f..d5f569d71 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -1969,7 +1969,7 @@ PX4IO::print_status(bool extended_status)
printf("actuators");
for (unsigned i = 0; i < _max_actuators; i++)
- printf(" %u", io_reg_get(PX4IO_PAGE_ACTUATORS, i));
+ printf(" %hi", int16_t(io_reg_get(PX4IO_PAGE_ACTUATORS, i)));
printf("\n");
printf("servos");