Browse Source

AP_HAL: disable protocol drivers for bootloader builds

zr-v5.1
Siddharth Purohit 5 years ago committed by Peter Barker
parent
commit
9aa0970eed
  1. 2
      libraries/AP_HAL/AP_HAL_Boards.h

2
libraries/AP_HAL/AP_HAL_Boards.h

@ -216,7 +216,7 @@ @@ -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…
Cancel
Save