forked from Archive/PX4-Autopilot
AStyle: Fixed file formatting
This commit is contained in:
parent
f1587da4c4
commit
e40d207311
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue