mbed library sources, with proposed I2C for Seed Arch BLE - not working -
Dependents: Seeed_Barometer_Sensor_Example
Fork of mbed-src by
Diff: common/CallChain.cpp
- Revision:
- 212:34d62c0b2af6
- Parent:
- 36:ab3ee77451e7
--- a/common/CallChain.cpp Sun May 25 08:00:07 2014 +0100 +++ b/common/CallChain.cpp Mon May 26 18:15:07 2014 +0100 @@ -3,13 +3,13 @@ namespace mbed { -CallChain::CallChain(int size) : _size(size), _elements(0) { +CallChain::CallChain(int size) : _chain(), _size(size), _elements(0) { _chain = new pFunctionPointer_t[size](); } CallChain::~CallChain() { clear(); - delete _chain; + delete _chain; } pFunctionPointer_t CallChain::add(void (*function)(void)) {