AP_HAL_ChibiOS: define HAL_MAX_CAN_PROTOCOL_DRIVERS for bootloader in hwdef.h

This commit is contained in:
Peter Barker 2022-08-15 16:50:48 +10:00 committed by Peter Barker
parent f84e0c9e8b
commit fc8ad509f7
1 changed files with 2 additions and 0 deletions

View File

@ -2949,6 +2949,8 @@ def add_bootloader_defaults(f):
#ifndef HAL_GYROFFT_ENABLED #ifndef HAL_GYROFFT_ENABLED
#define HAL_GYROFFT_ENABLED 0 #define HAL_GYROFFT_ENABLED 0
#endif #endif
#define HAL_MAX_CAN_PROTOCOL_DRIVERS 0
''') ''')
def add_iomcu_firmware_defaults(f): def add_iomcu_firmware_defaults(f):