mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 07:03:34 +08:00
land_detector: cleanup actuator_armed and battery_status naming
* Rename _arming -> _actuator_armed * Rename _battery -> _battery_status in the MulticopterLandDetector class.
This commit is contained in:
@@ -88,7 +88,7 @@ float FixedwingLandDetector::_get_max_altitude()
|
||||
bool FixedwingLandDetector::_get_landed_state()
|
||||
{
|
||||
// only trigger flight conditions if we are armed
|
||||
if (!_arming.armed) {
|
||||
if (!_actuator_armed.armed) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user