Christopher Haster / mbed-hal

Dependencies:   target-freescale

Fork of mbed-hal by Morpheus

Revision:
7:4fdb3a44f646
Parent:
0:9c59db1fbc9e
Child:
13:d6551a5dcbbf
--- a/api/Ticker.h	Thu Mar 31 12:18:08 2016 -0500
+++ b/api/Ticker.h	Thu Mar 31 12:35:07 2016 -0500
@@ -17,7 +17,7 @@
 #define MBED_TICKER_H
 
 #include "TimerEvent.h"
-#include "FunctionPointer.h"
+#include "Function.h"
 
 namespace mbed {
 
@@ -119,7 +119,7 @@
 
 protected:
     timestamp_t     _delay;     /**< Time delay (in microseconds) for re-setting the multi-shot callback. */
-    FunctionPointer _function;  /**< Callback. */
+    Function<void()> _function;  /**< Callback. */
 };
 
 } // namespace mbed