mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Revision:
41:e8b66477f5bf
Parent:
29:6ac4027eff2b
Child:
227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c	Fri Oct 25 13:45:04 2013 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c	Fri Oct 25 15:00:04 2013 +0100
@@ -83,6 +83,10 @@
     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
+}
+
 static inline void can_irq(uint32_t icr, uint32_t index) {
     uint32_t i;
     
@@ -340,7 +344,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;