Ping pong app demo.
Dependencies: modem_ref_helper DebouncedInterrupt
Diff: modem_callbacks.cpp
- Revision:
- 3:0979d8cba5ec
- Parent:
- 2:785b422c7d22
- Child:
- 8:1b7101152a76
diff -r 785b422c7d22 -r 0979d8cba5ec modem_callbacks.cpp --- a/modem_callbacks.cpp Thu May 18 13:09:03 2017 +0000 +++ b/modem_callbacks.cpp Thu Sep 21 15:14:08 2017 +0000 @@ -42,13 +42,15 @@ void my_reset(void) { + PRINT("Restarting application...\r\n"); + FLUSH(); NVIC_SystemReset(); } void my_boot(u8 cause, u16 number) { - PRINT("Modem BOOT[%c] #%d\r\nRe-Init\r\n", cause, number); + PRINT("Modem BOOT[%c] #%d\r\n", cause, number); // Modem re-booted, restart APP - //my_reset(); + my_reset(); } \ No newline at end of file