diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 10:24:00 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-01-06 10:24:00 +0100 |
commit | 1b2e8868788e9b8541b9e4218b6985097ca241a2 (patch) | |
tree | f728b3021de141916ffdf2fb7cf8407965480357 /apps/drivers/px4io/px4io.cpp | |
parent | f89cd312ec97440de5d07fc83f2b373312eef5ab (diff) | |
download | px4-firmware-1b2e8868788e9b8541b9e4218b6985097ca241a2.tar.gz px4-firmware-1b2e8868788e9b8541b9e4218b6985097ca241a2.tar.bz2 px4-firmware-1b2e8868788e9b8541b9e4218b6985097ca241a2.zip |
Removed unwanted cast
Diffstat (limited to 'apps/drivers/px4io/px4io.cpp')
-rw-r--r-- | apps/drivers/px4io/px4io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/px4io/px4io.cpp b/apps/drivers/px4io/px4io.cpp index 554cf7e0c..e6a485de4 100644 --- a/apps/drivers/px4io/px4io.cpp +++ b/apps/drivers/px4io/px4io.cpp @@ -588,7 +588,7 @@ PX4IO::io_send() /* set outputs */ for (unsigned i = 0; i < _max_actuators; i++) { - cmd.output_control[i] = (uint16_t)_outputs.output[i]; + cmd.output_control[i] = _outputs.output[i]; } /* publish as we send */ _outputs.timestamp = hrt_absolute_time(); |