VTOL att control: Fix status reporting

The transition state reporting was inverted because of a typo. Code analysis suggests this will only have an effect in manual transition.
This commit is contained in:
Lorenz Meier
2016-12-25 18:15:51 +01:00
parent 1141079a3b
commit d6ef137e59
2 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -221,11 +221,11 @@ void Standard::update_vtol_state()
break;
case TRANSITION_TO_FW:
_vtol_mode = mode::TRANSITION_TO_MC;
_vtol_mode = mode::TRANSITION_TO_FW;
break;
case TRANSITION_TO_MC:
_vtol_mode = mode::TRANSITION_TO_FW;
_vtol_mode = mode::TRANSITION_TO_MC;
break;
}
}