Something went wrong. Try again.
A fork of https://github.com/crosspoint-reader/crosspoint-reader
Something went wrong. Try again.
326 B · 20 lines
C
123456789101112131415161718192021#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 necessaryvoid checkPanic();void clearPanic();
std::string getPanicInfo(bool full = false);bool isRebootFromPanic();} // namespace HalSystem