AP_Torqeedo: remove use of HAL_BUILD_AP_PERIPH

turn torqeedo off in chibios_hwdef.py instead for Periph
This commit is contained in:
Peter Barker 2023-08-08 12:36:35 +10:00 committed by Andrew Tridgell
parent ceab0180ec
commit aa5466c6e2
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@
#include <AP_HAL/AP_HAL_Boards.h> #include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_TORQEEDO_ENABLED #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 #endif