From 3b8648193b8b6572700cdf69713aa843d3a26026 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sat, 31 Aug 2024 15:10:58 -0500 Subject: [PATCH] AP_HAL: increase overtime margin on ESP32 --- libraries/AP_HAL/board/esp32.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL/board/esp32.h b/libraries/AP_HAL/board/esp32.h index b5990fd237fe33..52855bc335f0b2 100644 --- a/libraries/AP_HAL/board/esp32.h +++ b/libraries/AP_HAL/board/esp32.h @@ -116,3 +116,6 @@ // other big things.. #define HAL_QUADPLANE_ENABLED 0 #define HAL_GYROFFT_ENABLED 0 + +// remove once ESP32 isn't so slow +#define AP_SCHEDULER_OVERTIME_MARGIN_US 50000UL