Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: main.cpp
- Revision:
- 157:33db0c5e0bd8
- Parent:
- 155:582462821bd7
- Child:
- 159:329e3271c87e
--- a/main.cpp Fri Apr 11 15:47:15 2014 +0000 +++ b/main.cpp Tue May 13 20:27:11 2014 +0000 @@ -146,6 +146,9 @@ #endif + // HARD RESET - ugly but necessary - we seem to develop memory holes.... :( + extern "C" void HardFault_Handler() { NVIC_SystemReset(); } + // main entry point int main() { #ifdef CELLULAR_NETWORK