mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
AStyle: Fixed file formatting
This commit is contained in:
1 parent
f1587da4c4
commit
e40d207311
4 files changed
+4
-4
No files matched your search
@@ -21,4 +21,4 @@ land_detector start fixedwing
|
||||
|
||||
#
|
||||
# Misc apps
|
||||
#
|
||||
#
|
||||
@@ -32,7 +32,7 @@ void LandDetector::start()
|
||||
//Advertise the first land detected uORB
|
||||
_landDetected.timestamp = hrt_absolute_time();
|
||||
_landDetected.landed = false;
|
||||
_landDetectedPub = orb_advertise(ORB_ID(vehicle_land_detected), &_landDetected);
|
||||
_landDetectedPub = orb_advertise(ORB_ID(vehicle_land_detected), &_landDetected);
|
||||
|
||||
//Initialize land detection algorithm
|
||||
initialize();
|
||||
|
||||
@@ -98,4 +98,4 @@ private:
|
||||
bool _taskIsRunning; /**< task has reached main loop and is currently running */
|
||||
};
|
||||
|
||||
#endif //__LAND_DETECTOR_H__
|
||||
#endif //__LAND_DETECTOR_H__
|
||||
@@ -87,7 +87,7 @@ bool MulticopterLandDetector::update()
|
||||
updateSubscriptions();
|
||||
|
||||
//Only trigger flight conditions if we are armed
|
||||
if(!_arming.armed) {
|
||||
if (!_arming.armed) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user