Sub: Fix unused variables in acro and stabilize

This commit is contained in:
Jacob Walser 2016-12-04 11:50:42 -05:00 committed by Andrew Tridgell
parent 45de3b1163
commit fdf9e5fde0
2 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ bool Sub::acro_init(bool ignore_checks)
void Sub::acro_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()) {

View File

@ -24,7 +24,6 @@ void Sub::stabilize_run()
uint32_t tnow = AP_HAL::millis();
float target_roll, target_pitch;
float target_yaw_rate;
float pilot_throttle_scaled;
// if not armed set throttle to zero and exit immediately
if (!motors.armed() || !motors.get_interlock()) {