added rattitude to geofence exit condition

This commit is contained in:
Andreas Antener 2016-09-06 22:24:30 +02:00
parent a59038e3cb
commit 5a7046027c
1 changed files with 1 additions and 0 deletions

View File

@ -2355,6 +2355,7 @@ int commander_thread_main(int argc, char *argv[])
main_state_before_rtl == commander_state_s::MAIN_STATE_ALTCTL ||
main_state_before_rtl == commander_state_s::MAIN_STATE_POSCTL ||
main_state_before_rtl == commander_state_s::MAIN_STATE_ACRO ||
main_state_before_rtl == commander_state_s::MAIN_STATE_RATTITUDE ||
main_state_before_rtl == commander_state_s::MAIN_STATE_STAB)) {
// transition to previous state if sticks are increased