From 72ed160aa91b80c130cbe49208c10d2e749d8d80 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Fri, 19 Jul 2024 15:24:20 +0200 Subject: [PATCH] batteryCheck: fix comment typo hyster{i,e}sis --- .../commander/HealthAndArmingChecks/checks/batteryCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp b/src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp index f244f10066..ef3d8c7010 100644 --- a/src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp +++ b/src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp @@ -301,7 +301,7 @@ void BatteryChecks::rtlEstimateCheck(const Context &context, Report &reporter, f rtl_time_estimate_s rtl_time_estimate; // Compare estimate of RTL time to estimate of remaining flight time - // add hysterisis: if already in the condition, only get out of it if the remaining flight time is significantly higher again + // add hysteresis: if already in the condition, only get out of it if the remaining flight time is significantly higher again const float hysteresis_factor = reporter.failsafeFlags().battery_low_remaining_time ? 1.1f : 1.0f; reporter.failsafeFlags().battery_low_remaining_time = _rtl_time_estimate_sub.copy(&rtl_time_estimate)