Christopher Haster / mbed-hal

Dependencies:   target-freescale

Fork of mbed-hal by Morpheus

Revision:
13:d6551a5dcbbf
Parent:
7:4fdb3a44f646
Child:
16:086d28575041
--- a/api/SerialBase.h	Thu Mar 31 20:05:27 2016 -0500
+++ b/api/SerialBase.h	Thu Mar 31 20:10:32 2016 -0500
@@ -21,7 +21,7 @@
 #if DEVICE_SERIAL
 
 #include "Stream.h"
-#include "Function.h"
+#include "FunctionPointer.h"
 #include "serial_api.h"
 
 #if DEVICE_SERIAL_ASYNCH
@@ -211,7 +211,7 @@
 #endif
 
     serial_t         _serial;
-    Function<void()> _irq[2];
+    FunctionPointer _irq[2];
     int              _baud;
 
 };