git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13120 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2019-10-19 11:44:56 +00:00
parent 5c89ae333b
commit 4df6627866
2 changed files with 4 additions and 0 deletions

View File

@ -657,11 +657,13 @@ void can_lld_init(void) {
#endif
/* Filters initialization.*/
#if STM32_CAN_USE_CAN1
#if STM32_HAS_CAN2
can_lld_set_filters(&CAND1, STM32_CAN_MAX_FILTERS / 2, 0, NULL);
#else
can_lld_set_filters(&CAND1, STM32_CAN_MAX_FILTERS, 0, NULL);
#endif
#endif
#if STM32_HAS_CAN3
#if STM32_CAN_USE_CAN3

View File

@ -132,6 +132,8 @@
- HAL: Added a new interface for range-finder devices (used by EX).
- HAL: Added mcuconf.h updater tool for STM32F407 (backported to 19.1.1).
- NIL: Integrated NIL 4.0.
- FIX: Fixed STM32 CANv1 compile fails if CAN3 is used alone (bug #1052)
(backported to 19.1.4)(backported to 18.2.3).
- FIX: Fixed palIsLineEventEnabledX() compile fail on STM32L4 (bug #1051)
(backported to 19.1.4).
- FIX: Fixed wrong clock disable check in STM32 DACv1 driver (bug #1050)