From b29444b8d5d1b3e8c353298735008d5e337f4626 Mon Sep 17 00:00:00 2001 From: Claudio Chies <61051109+Claudio-Chies@users.noreply.github.com> Date: Fri, 19 Dec 2025 14:35:01 +0100 Subject: [PATCH] Update src/modules/commander/failsafe/failsafe_test.cpp Co-authored-by: Matthias Grob --- src/modules/commander/failsafe/failsafe_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/failsafe/failsafe_test.cpp b/src/modules/commander/failsafe/failsafe_test.cpp index a951fbb22c..56744adbbe 100644 --- a/src/modules/commander/failsafe/failsafe_test.cpp +++ b/src/modules/commander/failsafe/failsafe_test.cpp @@ -638,7 +638,7 @@ TEST_F(FailsafeTest, battery_unhealthy_during_spoolup) failsafe.updateArmingState(time, true); // Test 1: Battery unhealthy during spoolup phase (within 2 seconds of arming) - time += 500_ms; // 0.5 seconds after arming - still in spoolup + time += spoolup_time - 100_ms; // still in spoolup failsafe_flags.battery_unhealthy = true; uint8_t updated_user_intented_mode = failsafe.update(time, state, false, false, failsafe_flags);