diff options
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/STM32/LLD/can_lld.c | 5 | ||||
-rw-r--r-- | os/hal/ports/STM32/LLD/can_lld.h | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/LLD/can_lld.c b/os/hal/ports/STM32/LLD/can_lld.c index 5b021ccc8..48820f171 100644 --- a/os/hal/ports/STM32/LLD/can_lld.c +++ b/os/hal/ports/STM32/LLD/can_lld.c @@ -64,8 +64,8 @@ CANDriver CAND2; * @notapi
*/
static void can_lld_set_filters(uint32_t can2sb,
- uint32_t num,
- const CANFilter *cfp) {
+ uint32_t num,
+ const CANFilter *cfp) {
/* Temporarily enabling CAN1 clock.*/
rccEnableCAN1(FALSE);
@@ -379,7 +379,6 @@ void can_lld_init(void) { #else
can_lld_set_filters(STM32_CAN_MAX_FILTERS, 0, NULL);
#endif
-
}
/**
diff --git a/os/hal/ports/STM32/LLD/can_lld.h b/os/hal/ports/STM32/LLD/can_lld.h index 27da0b3b6..d15119a40 100644 --- a/os/hal/ports/STM32/LLD/can_lld.h +++ b/os/hal/ports/STM32/LLD/can_lld.h @@ -353,6 +353,7 @@ extern "C" { void can_lld_sleep(CANDriver *canp);
void can_lld_wakeup(CANDriver *canp);
#endif /* CAN_USE_SLEEP_MODE */
+ void canSTM32SetFilters(uint32_t can2sb, uint32_t num, const CANFilter *cfp);
#ifdef __cplusplus
}
#endif
|