mbed library sources for GR-PEACH rev.B.

Fork of mbed-src by mbed official

Revision:
41:e8b66477f5bf
Parent:
13:0645d8841f51
Child:
227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c	Fri Oct 25 13:45:04 2013 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC23XX/can_api.c	Fri Oct 25 15:00:04 2013 +0100
@@ -72,6 +72,14 @@
     }
 }
 
+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
+}
+
 static int can_pclk(can_t *obj) {
     int value = 0;
     switch ((int)obj->dev) {
@@ -247,7 +255,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;