mbed library sources, with proposed I2C for Seed Arch BLE - not working -
Dependents: Seeed_Barometer_Sensor_Example
Fork of mbed-src by
Diff: common/FunctionPointer.cpp
- Revision:
- 15:4892fe388435
- Parent:
- 13:0645d8841f51
- Child:
- 212:34d62c0b2af6
diff -r 096882eb0961 -r 4892fe388435 common/FunctionPointer.cpp --- a/common/FunctionPointer.cpp Mon Aug 05 14:54:27 2013 +0000 +++ b/common/FunctionPointer.cpp Wed Aug 07 16:43:59 2013 +0300 @@ -34,4 +34,10 @@ } } +#ifdef MBED_OPERATORS +void FunctionPointer::operator ()(void) { + call(); +} +#endif + } // namespace mbed