mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Plane: Option to trig by distance only when in AUTO mode
This commit is contained in:
parent
e7a1ceca4c
commit
1d27e21d83
@ -295,6 +295,9 @@ void Plane::set_mode(enum FlightMode mode, mode_reason_t reason)
|
||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||
frsky_telemetry.update_control_mode(control_mode);
|
||||
#endif
|
||||
#if CAMERA == ENABLED
|
||||
camera.set_is_auto_mode(control_mode == AUTO);
|
||||
#endif
|
||||
|
||||
if (previous_mode == AUTOTUNE && control_mode != AUTOTUNE) {
|
||||
// restore last gains
|
||||
|
Loading…
Reference in New Issue
Block a user