From 6b063bc3964e363bdd54dbeae6236b6b4164a84e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 3 Apr 2014 13:37:41 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6835 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/can_lld.c | 5 ++--- os/hal/platforms/STM32/can_lld.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os/hal/platforms/STM32/can_lld.c b/os/hal/platforms/STM32/can_lld.c index 30e9dd7cf..716b16e84 100644 --- a/os/hal/platforms/STM32/can_lld.c +++ b/os/hal/platforms/STM32/can_lld.c @@ -65,8 +65,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); @@ -383,7 +383,6 @@ void can_lld_init(void) { #else can_lld_set_filters(STM32_CAN_MAX_FILTERS, 0, NULL); #endif - } /** diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h index c339c01e7..d4e8188bb 100644 --- a/os/hal/platforms/STM32/can_lld.h +++ b/os/hal/platforms/STM32/can_lld.h @@ -355,6 +355,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