diff options
author | Johan Jansen <jnsn.johan@gmail.com> | 2015-01-15 10:06:56 +0100 |
---|---|---|
committer | Johan Jansen <jnsn.johan@gmail.com> | 2015-01-15 14:37:51 +0100 |
commit | e40d207311126b05a7fd87739fb72d2ae8d7d500 (patch) | |
tree | cad14f72fc1178cf7b7fc0a43d18fe93bc413771 | |
parent | f1587da4c46e92474687f37ad49fbd003b7c91db (diff) | |
download | px4-firmware-e40d207311126b05a7fd87739fb72d2ae8d7d500.tar.gz px4-firmware-e40d207311126b05a7fd87739fb72d2ae8d7d500.tar.bz2 px4-firmware-e40d207311126b05a7fd87739fb72d2ae8d7d500.zip |
AStyle: Fixed file formatting
-rw-r--r-- | ROMFS/px4fmu_common/init.d/rc.fw_apps | 2 | ||||
-rw-r--r-- | src/modules/land_detector/LandDetector.cpp | 2 | ||||
-rw-r--r-- | src/modules/land_detector/LandDetector.h | 2 | ||||
-rw-r--r-- | src/modules/land_detector/MulticopterLandDetector.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ROMFS/px4fmu_common/init.d/rc.fw_apps b/ROMFS/px4fmu_common/init.d/rc.fw_apps index 173c1846b..9e2d1f6ff 100644 --- a/ROMFS/px4fmu_common/init.d/rc.fw_apps +++ b/ROMFS/px4fmu_common/init.d/rc.fw_apps @@ -21,4 +21,4 @@ land_detector start fixedwing # # Misc apps -#
\ No newline at end of file +# diff --git a/src/modules/land_detector/LandDetector.cpp b/src/modules/land_detector/LandDetector.cpp index 2f1310cab..1dd09b6a6 100644 --- a/src/modules/land_detector/LandDetector.cpp +++ b/src/modules/land_detector/LandDetector.cpp @@ -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(); diff --git a/src/modules/land_detector/LandDetector.h b/src/modules/land_detector/LandDetector.h index f7120434c..ba15ad498 100644 --- a/src/modules/land_detector/LandDetector.h +++ b/src/modules/land_detector/LandDetector.h @@ -98,4 +98,4 @@ private: bool _taskIsRunning; /**< task has reached main loop and is currently running */ }; -#endif //__LAND_DETECTOR_H__
\ No newline at end of file +#endif //__LAND_DETECTOR_H__ diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index 81af029fb..8c25ae5fe 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -87,7 +87,7 @@ bool MulticopterLandDetector::update() updateSubscriptions(); //Only trigger flight conditions if we are armed - if(!_arming.armed) { + if (!_arming.armed) { return true; } |