mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 18:43:33 +08:00
land detector clang-tidy trivial changes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user