From dc85e0deabcfeb1d4119ef363eab11c45447cb59 Mon Sep 17 00:00:00 2001 From: Pradeep CK Date: Mon, 9 Dec 2024 10:01:20 +1100 Subject: [PATCH] LUA : ESC warmup time reset when disarmed --- .../hwdef/CarbonixCommon/scripts/cx_built_in_test.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/scripts/cx_built_in_test.lua b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/scripts/cx_built_in_test.lua index 1abb8d649a..83542486ec 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/scripts/cx_built_in_test.lua +++ b/libraries/AP_HAL_ChibiOS/hwdef/CarbonixCommon/scripts/cx_built_in_test.lua @@ -184,6 +184,8 @@ local function esc_check_loop() end end end + else + esc_is_stopped(i) end end -- Update srv_prv_telem_ms[i] if it had valid data this loop