mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-12 01:01:54 +00:00
Support for displaying stack on screen after a fault (for debug) (#1416)
* Support for displaying stack on screen after a fault * Update debug.cpp * Highlight possible addresses on stack & support Up key * Add small background white style * Add small background white style * Update debug.cpp * Highlight fault PC in yellow * Add bg_yellow_small style * Add bg_yellow_small style * Clang - trailing space
This commit is contained in:
@@ -37,6 +37,12 @@ class Styles {
|
||||
/* White foreground, small font. */
|
||||
static const Style white_small;
|
||||
|
||||
/* White background, small font. */
|
||||
static const Style bg_white_small;
|
||||
|
||||
/* Red background, small font. */
|
||||
static const Style bg_yellow_small;
|
||||
|
||||
/* Yellow foreground. */
|
||||
static const Style yellow;
|
||||
|
||||
@@ -70,4 +76,4 @@ class Styles {
|
||||
|
||||
} // namespace ui
|
||||
|
||||
#endif /*__UI_STYLES_H__*/
|
||||
#endif /*__UI_STYLES_H__*/
|
||||
|
||||
Reference in New Issue
Block a user