commander: only clear hold delay when failsafes are being deferred

This commit is contained in:
mahima-yoga
2025-07-25 15:00:23 +02:00
committed by Beat Küng
parent edfcbc7c9b
commit f66192326c
+1 -1
View File
@@ -720,7 +720,7 @@ bool FailsafeBase::deferFailsafes(bool enabled, int timeout_s)
return false;
}
if (!enabled && _failsafe_defer_started == 0) {
if (!enabled && _defer_failsafes && _failsafe_defer_started == 0) {
_current_delay = 0;
}