diff --git a/ROMFS/px4fmu_common/init.d/rc.fw_apps b/ROMFS/px4fmu_common/init.d/rc.fw_apps index 173c1846b2..9e2d1f6ffe 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 2f1310cab0..1dd09b6a67 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 f7120434c4..ba15ad498b 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 81af029fb1..8c25ae5fe7 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; }