From 75da82605e328f3f5039a064f176b5fff405afc7 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Thu, 26 Dec 2024 11:20:04 -0600 Subject: [PATCH] AP_HAL_ESP32: set up EKF double like other boards It's still not enabled. --- libraries/AP_HAL/board/esp32.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/AP_HAL/board/esp32.h b/libraries/AP_HAL/board/esp32.h index 34846d8b4cd9b..e4a7555e87225 100644 --- a/libraries/AP_HAL/board/esp32.h +++ b/libraries/AP_HAL/board/esp32.h @@ -42,6 +42,14 @@ #define HAL_BinarySemaphore ESP32::BinarySemaphore #endif +#ifndef HAL_HAVE_HARDWARE_DOUBLE +#define HAL_HAVE_HARDWARE_DOUBLE 0 +#endif + +#ifndef HAL_WITH_EKF_DOUBLE +#define HAL_WITH_EKF_DOUBLE HAL_HAVE_HARDWARE_DOUBLE +#endif + #define HAL_NUM_CAN_IFACES 0 #define HAL_MEM_CLASS HAL_MEM_CLASS_192