PPS: remove redundant boolean literal to silence clang-tidy

Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
Silvan
2025-11-17 14:55:12 +01:00
committed by Jacob Dahl
parent 49febef5ca
commit a3694c84f4
@@ -96,9 +96,5 @@ bool PpsTimeSync::is_valid() const
now = UINT64_MAX;
}
if (now - _pps_hrt_timestamp > kPpsStaleTimeoutUs) {
return false;
}
return true;
return now - _pps_hrt_timestamp < kPpsStaleTimeoutUs;
}