HAL_ChibiOS: allow for CAN enable override on F4

This commit is contained in:
Andrew Tridgell 2019-07-25 19:13:00 +10:00
parent fb68fa8bc9
commit cbc83d68cd
1 changed files with 4 additions and 0 deletions

View File

@ -128,8 +128,12 @@
/*
* CAN driver system settings.
*/
#ifndef STM32_CAN_USE_CAN1
#define STM32_CAN_USE_CAN1 FALSE
#endif
#ifndef STM32_CAN_USE_CAN2
#define STM32_CAN_USE_CAN2 FALSE
#endif
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
#define STM32_CAN_CAN2_IRQ_PRIORITY 11