mirror of https://github.com/ArduPilot/ardupilot
Sub: Fix control_manual compile warnings.
This commit is contained in:
parent
2b822d0c55
commit
9534f41a53
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue