git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6837 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
864433501b
commit
e156a82f76
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue