mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-01 01:57:11 -04:00
improved runtime error handling
This commit is contained in:
parent
ed1c2e1c03
commit
b83f43793c
6 changed files with 75 additions and 28 deletions
|
@ -145,7 +145,11 @@ void EventDispatcher::dispatch(const eventmask_t events) {
|
|||
if (shared_memory.bb_data.data[0] == 0)
|
||||
draw_guru_meditation(CORTEX_M4, shared_memory.m4_panic_msg);
|
||||
else
|
||||
draw_guru_meditation(CORTEX_M4, shared_memory.m4_panic_msg, (struct extctx *)&shared_memory.bb_data.data[4]);
|
||||
draw_guru_meditation(
|
||||
CORTEX_M4,
|
||||
shared_memory.m4_panic_msg,
|
||||
(struct extctx *)&shared_memory.bb_data.data[8],
|
||||
*(uint32_t *)&shared_memory.bb_data.data[4]);
|
||||
}
|
||||
|
||||
if( events & EVT_MASK_APPLICATION ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue