mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 11:13:34 +08:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user