From 1b2e8868788e9b8541b9e4218b6985097ca241a2 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 6 Jan 2013 10:24:00 +0100 Subject: [PATCH] Removed unwanted cast --- apps/drivers/px4io/px4io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/drivers/px4io/px4io.cpp b/apps/drivers/px4io/px4io.cpp index 554cf7e0c8..e6a485de4f 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();