Copter: Option to trig by distance only when in AUTO mode

This commit is contained in:
André Kjellstrup 2017-10-24 12:44:57 +02:00 committed by Francisco Ferreira
parent aab22d7dad
commit e7a1ceca4c
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ failed:
#if FRSKY_TELEM_ENABLED == ENABLED #if FRSKY_TELEM_ENABLED == ENABLED
frsky_telemetry.update_control_mode(control_mode); frsky_telemetry.update_control_mode(control_mode);
#endif #endif
#if CAMERA == ENABLED
camera.set_is_auto_mode(control_mode == AUTO);
#endif
} else { } else {
// Log error that we failed to enter desired flight mode // Log error that we failed to enter desired flight mode