Sub: Fix control_manual compile warnings.

This commit is contained in:
Rustom Jehangir 2016-07-06 16:18:32 -07:00 committed by Andrew Tridgell
parent 2b822d0c55
commit 9534f41a53
1 changed files with 0 additions and 3 deletions

View File

@ -18,9 +18,6 @@ bool Sub::manual_init(bool ignore_checks)
// should be called at 100hz or more
void Sub::manual_run()
{
float target_roll, target_pitch, target_yaw;
float pilot_throttle_scaled;
// if not armed set throttle to zero and exit immediately
if (!motors.armed() || !motors.get_interlock()) {
motors.set_desired_spool_state(AP_Motors::DESIRED_SPIN_WHEN_ARMED);