diff --git a/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp b/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp index f57510029d..194ca1a027 100644 --- a/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp +++ b/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp @@ -66,7 +66,7 @@ public: SensorRangeFinder() = default; ~SensorRangeFinder() override = default; - void runChecks(uint64_t current_time_us, const matrix::Dcmf &R_to_earth, bool in_air); + void runChecks(uint64_t current_time_us, const matrix::Dcmf &R_to_earth, bool in_air = true); bool isHealthy() const override { return _is_sample_valid; } bool isDataHealthy() const override { return _is_sample_ready && _is_sample_valid; } bool isDataReady() const { return _is_sample_ready; }