diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-17 10:32:10 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-08-17 10:32:10 +0200 |
commit | 5a5e1a976ed74efdd3e660c8739d051fd1f847e4 (patch) | |
tree | 58fa624bc4a4878f5bfc4877710d863294080e77 /src/drivers/px4io/px4io.cpp | |
parent | dd0916bd7d537f831838925cbe86e7ff3d933e9c (diff) | |
parent | ed409bd79a6c009ad10a883c557c4ca6a98414ad (diff) | |
download | px4-firmware-5a5e1a976ed74efdd3e660c8739d051fd1f847e4.tar.gz px4-firmware-5a5e1a976ed74efdd3e660c8739d051fd1f847e4.tar.bz2 px4-firmware-5a5e1a976ed74efdd3e660c8739d051fd1f847e4.zip |
Merge branch 'master' of github.com:PX4/Firmware
Diffstat (limited to 'src/drivers/px4io/px4io.cpp')
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index 32069cf09..97919538f 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -1968,7 +1968,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"); |