AP_HAL: disable protocol drivers for bootloader builds

This commit is contained in:
Siddharth Purohit 2020-07-31 18:21:16 +05:30 committed by Peter Barker
parent b8e3d9c6e8
commit 9aa0970eed

View File

@ -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