mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC176X/can_api.c
- Revision:
- 41:e8b66477f5bf
- Parent:
- 20:4263a77256ae
- Child:
- 227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/can_api.c Fri Oct 25 13:45:04 2013 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/can_api.c Fri Oct 25 15:00:04 2013 +0100 @@ -78,8 +78,11 @@ } } -int can_mode(can_t *obj, CanMode mode) -{ +int can_mode(can_t *obj, CanMode mode) { + return 0; // not implemented +} + +int can_filter(can_t *obj, uint32_t id, uint32_t mask, CANFormat format, int32_t handle) { return 0; // not implemented } @@ -355,7 +358,7 @@ return 0; } -int can_read(can_t *obj, CAN_Message *msg) { +int can_read(can_t *obj, CAN_Message *msg, int handle) { CANMsg x; unsigned int *i = (unsigned int *)&x;