Simplify QR stacktrace (#121)

This commit is contained in:
Ken Van Hoeylandt
2024-12-14 00:16:42 +01:00
committed by GitHub
parent 34f99205ca
commit 43714b2355
3 changed files with 16 additions and 5 deletions
+4 -1
View File
@@ -4,11 +4,14 @@
#include <cstdio>
#define CRASH_DATA_CALLSTACK_LIMIT 32 // bytes
#define CRASH_DATA_CALLSTACK_LIMIT 64
#define CRASH_DATA_INCLUDES_SP false
struct CallstackFrame {
uint32_t pc = 0;
#if CRASH_DATA_INCLUDES_SP
uint32_t sp = 0;
#endif
};
struct CrashData {