From c68b2bc2bed4178bbb013b7da792a577934a9fbf Mon Sep 17 00:00:00 2001 From: David Buzz Date: Tue, 2 May 2023 09:52:16 +1000 Subject: [PATCH] AP_HAL: make all esp32 boards use 16 channels, not 32. --- 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 ee73fca795..8d936ee7f9 100644 --- a/libraries/AP_HAL/board/esp32.h +++ b/libraries/AP_HAL/board/esp32.h @@ -76,6 +76,9 @@ #define AP_COMPASS_BACKEND_DEFAULT_ENABLED 0 #endif +// we don't need 32, 16 is enough +#define NUM_SERVO_CHANNELS 16 + // disble temp cal of gyros by default #define HAL_INS_TEMPERATURE_CAL_ENABLE 0