| 102 | } |
| 103 | |
| 104 | void clearPanic() { |
| 105 | panicMessage[0] = '\0'; |
| 106 | for (size_t i = 0; i < MAX_PANIC_STACK_DEPTH; i++) { |
| 107 | panicStack[i].sp = 0; |
| 108 | } |
| 109 | clearLastLogs(); |
| 110 | } |
| 111 | |
| 112 | std::string getPanicInfo(bool full) { |
| 113 | if (!full) { |
no test coverage detected