mirror of https://github.com/ArduPilot/ardupilot
Sub: Fix compile error in control_althold
This commit is contained in:
parent
85f972ec65
commit
5ee68aee42
|
@ -49,7 +49,7 @@ void Sub::althold_run()
|
|||
float target_climb_rate = get_pilot_desired_climb_rate(channel_throttle->control_in);
|
||||
target_climb_rate = constrain_float(target_climb_rate, -g.pilot_velocity_z_max, g.pilot_velocity_z_max);
|
||||
|
||||
bool takeoff_triggered = (ap.land_complete && (channel_throttle->control_in > get_takeoff_trigger_throttle()));
|
||||
//bool takeoff_triggered = (ap.land_complete && (channel_throttle->control_in > get_takeoff_trigger_throttle()));
|
||||
|
||||
// // Alt Hold State Machine Determination
|
||||
if(!ap.auto_armed) {
|
||||
|
|
Loading…
Reference in New Issue