mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
MulticopterLandDetector: remove unnecessary newline
This commit is contained in:
@@ -349,7 +349,6 @@ float MulticopterLandDetector::_get_gnd_effect_altitude()
|
|||||||
|
|
||||||
bool MulticopterLandDetector::_get_ground_effect_state()
|
bool MulticopterLandDetector::_get_ground_effect_state()
|
||||||
{
|
{
|
||||||
|
|
||||||
return (_in_descend && !_horizontal_movement) ||
|
return (_in_descend && !_horizontal_movement) ||
|
||||||
(_below_gnd_effect_hgt && _takeoff_state == takeoff_status_s::TAKEOFF_STATE_FLIGHT) ||
|
(_below_gnd_effect_hgt && _takeoff_state == takeoff_status_s::TAKEOFF_STATE_FLIGHT) ||
|
||||||
_takeoff_state == takeoff_status_s::TAKEOFF_STATE_RAMPUP;
|
_takeoff_state == takeoff_status_s::TAKEOFF_STATE_RAMPUP;
|
||||||
|
|||||||
Reference in New Issue
Block a user