From d4f838495d53d562853e033f01dd16f112d8307d Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 20 Dec 2018 20:52:43 +0900 Subject: [PATCH] AP_Motors: minor format fix to tailsitter --- libraries/AP_Motors/AP_MotorsTailsitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsTailsitter.cpp b/libraries/AP_Motors/AP_MotorsTailsitter.cpp index 4d2c420a89..73a52ca965 100644 --- a/libraries/AP_Motors/AP_MotorsTailsitter.cpp +++ b/libraries/AP_Motors/AP_MotorsTailsitter.cpp @@ -161,8 +161,8 @@ void AP_MotorsTailsitter::output_armed_stabilizing() } // calculate left and right throttle outputs - _thrust_left = throttle_thrust + roll_thrust*0.5; - _thrust_right = throttle_thrust - roll_thrust*0.5; + _thrust_left = throttle_thrust + roll_thrust*0.5f; + _thrust_right = throttle_thrust - roll_thrust*0.5f; // if max thrust is more than one reduce average throttle thrust_max = MAX(_thrust_right,_thrust_left);