Christopher Haster / mbed-hal

Dependencies:   target-freescale

Fork of mbed-hal by Morpheus

Revision:
7:4fdb3a44f646
Parent:
0:9c59db1fbc9e
Child:
13:d6551a5dcbbf
--- a/api/InterruptIn.h	Thu Mar 31 12:18:08 2016 -0500
+++ b/api/InterruptIn.h	Thu Mar 31 12:35:07 2016 -0500
@@ -22,7 +22,7 @@
 
 #include "gpio_api.h"
 #include "gpio_irq_api.h"
-#include "FunctionPointer.h"
+#include "Function.h"
 
 namespace mbed {
 
@@ -124,8 +124,8 @@
     gpio_t gpio;
     gpio_irq_t gpio_irq;
 
-    FunctionPointer _rise;
-    FunctionPointer _fall;
+    Function<void()> _rise;
+    Function<void()> _fall;
 };
 
 } // namespace mbed