pub
Fork of CANnucleo by
Diff: can_api.c
- Revision:
- 6:c5a40d5fd9f1
- Parent:
- 5:b53e5ee15315
- Child:
- 8:5c90d6b9a382
--- a/can_api.c Tue Aug 04 11:58:09 2015 +0000 +++ b/can_api.c Fri Oct 23 19:45:00 2015 +0000 @@ -39,8 +39,8 @@ * @param * @retval */ -void can_init(can_t* obj, PinName rd, PinName td) { - initCAN(obj, rd, td); +void can_init(can_t* obj, PinName rd, PinName td, FunctionalState abom) { + initCAN(obj, rd, td, abom); can_filter(obj, 0, 0, CANAny, 0); } @@ -303,3 +303,4 @@ } +