## Summary Follow-up https://github.com/crosspoint-reader/crosspoint-reader/pull/1145 - Fix log not being record without USB connected - Bump release log to INFO for more logging details --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? **NO** --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
21 lines
326 B
C++
21 lines
326 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace HalSystem {
|
|
struct StackFrame {
|
|
uint32_t sp;
|
|
uint32_t spp[8];
|
|
};
|
|
|
|
void begin();
|
|
|
|
// Dump panic info to SD card if necessary
|
|
void checkPanic();
|
|
void clearPanic();
|
|
|
|
std::string getPanicInfo(bool full = false);
|
|
bool isRebootFromPanic();
|
|
} // namespace HalSystem
|