land detector clang-tidy trivial changes

This commit is contained in:
Daniel Agar
2017-08-31 22:49:44 -04:00
parent 6e402bd6f4
commit f67ac8ba00
7 changed files with 18 additions and 34 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ void LandDetector::_cycle()
{
perf_begin(_cycle_perf);
if (!_object) { // not initialized yet
if (_object == nullptr) { // not initialized yet
// Advertise the first land detected uORB.
_landDetected.timestamp = hrt_absolute_time();
_landDetected.freefall = false;