From aa5466c6e2d6001f600a3b7140bd28408c104438 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 8 Aug 2023 12:36:35 +1000 Subject: [PATCH] AP_Torqeedo: remove use of HAL_BUILD_AP_PERIPH turn torqeedo off in chibios_hwdef.py instead for Periph --- libraries/AP_Torqeedo/AP_Torqeedo_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Torqeedo/AP_Torqeedo_config.h b/libraries/AP_Torqeedo/AP_Torqeedo_config.h index a44e894e8d..be2392bf04 100644 --- a/libraries/AP_Torqeedo/AP_Torqeedo_config.h +++ b/libraries/AP_Torqeedo/AP_Torqeedo_config.h @@ -3,5 +3,5 @@ #include #ifndef HAL_TORQEEDO_ENABLED -#define HAL_TORQEEDO_ENABLED BOARD_FLASH_SIZE > 1024 && !defined(HAL_BUILD_AP_PERIPH) +#define HAL_TORQEEDO_ENABLED BOARD_FLASH_SIZE > 1024 #endif