The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: drivers/LowPowerTimeout.h
- Revision:
- 170:e95d10626187
- Parent:
- 169:a7c7b631e539
- Child:
- 172:65be27845400
--- a/drivers/LowPowerTimeout.h Fri Jun 22 15:38:59 2018 +0100 +++ b/drivers/LowPowerTimeout.h Thu Sep 06 13:39:34 2018 +0100 @@ -35,7 +35,8 @@ class LowPowerTimeout : public LowPowerTicker, private NonCopyable<LowPowerTimeout> { private: - virtual void handler(void) { + virtual void handler(void) + { _function.call(); } };