Correct state machine processing for long failsafe event following short failsafe from lower modes

This commit is contained in:
Doug Weibel 2011-09-11 21:59:46 -06:00
parent 1a8b74063a
commit d6370fd389
1 changed files with 1 additions and 1 deletions

View File

@ -43,12 +43,12 @@ static void failsafe_long_on_event()
case STABILIZE:
case FLY_BY_WIRE_A: // middle position
case FLY_BY_WIRE_B: // middle position
case CIRCLE:
set_mode(RTL);
break;
case AUTO:
case LOITER:
case CIRCLE:
if(g.long_fs_action == 1) {
set_mode(RTL);
}