mirror of https://github.com/ArduPilot/ardupilot
AP_Torqeedo: remove use of HAL_BUILD_AP_PERIPH
turn torqeedo off in chibios_hwdef.py instead for Periph
This commit is contained in:
parent
ceab0180ec
commit
aa5466c6e2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue