mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 16:10:34 +08:00
commander fix and enforce code style
This commit is contained in:
@@ -94,10 +94,11 @@ bool is_multirotor(const struct vehicle_status_s *current_status)
|
||||
bool is_rotary_wing(const struct vehicle_status_s *current_status)
|
||||
{
|
||||
return is_multirotor(current_status) || (current_status->system_type == VEHICLE_TYPE_HELICOPTER)
|
||||
|| (current_status->system_type == VEHICLE_TYPE_COAXIAL);
|
||||
|| (current_status->system_type == VEHICLE_TYPE_COAXIAL);
|
||||
}
|
||||
|
||||
bool is_vtol(const struct vehicle_status_s * current_status) {
|
||||
bool is_vtol(const struct vehicle_status_s *current_status)
|
||||
{
|
||||
return (current_status->system_type == VEHICLE_TYPE_VTOL_DUOROTOR ||
|
||||
current_status->system_type == VEHICLE_TYPE_VTOL_QUADROTOR ||
|
||||
current_status->system_type == VEHICLE_TYPE_VTOL_TILTROTOR ||
|
||||
|
||||
Reference in New Issue
Block a user