mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
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)) {