batteryCheck: fix comment typo hyster{i,e}sis

This commit is contained in:
Matthias Grob 2024-07-19 15:24:20 +02:00 committed by Silvan Fuhrer
parent 2e66bbdfb8
commit 72ed160aa9

View File

@ -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)