AP_HAL: disable protocol drivers for bootloader builds
This commit is contained in:
parent
b8e3d9c6e8
commit
9aa0970eed
@ -216,7 +216,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAL_MAX_CAN_PROTOCOL_DRIVERS
|
||||
#if defined(HAL_BUILD_AP_PERIPH)
|
||||
#if defined(HAL_BUILD_AP_PERIPH) || defined(HAL_BOOTLOADER_BUILD)
|
||||
#define HAL_MAX_CAN_PROTOCOL_DRIVERS 0
|
||||
#else
|
||||
#define HAL_MAX_CAN_PROTOCOL_DRIVERS HAL_NUM_CAN_IFACES
|
||||
|
Loading…
Reference in New Issue
Block a user