AStyle: Fixed file formatting

This commit is contained in:
Johan Jansen 2015-01-15 10:06:56 +01:00
parent f1587da4c4
commit e40d207311
4 changed files with 4 additions and 4 deletions

View File

@ -21,4 +21,4 @@ land_detector start fixedwing
#
# Misc apps
#
#

View File

@ -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();

View File

@ -98,4 +98,4 @@ private:
bool _taskIsRunning; /**< task has reached main loop and is currently running */
};
#endif //__LAND_DETECTOR_H__
#endif //__LAND_DETECTOR_H__

View File

@ -87,7 +87,7 @@ bool MulticopterLandDetector::update()
updateSubscriptions();
//Only trigger flight conditions if we are armed
if(!_arming.armed) {
if (!_arming.armed) {
return true;
}