Commit 518d2a88 authored by Rahix's avatar Rahix
Browse files

fix(pycardium): Return when aborting



Calls to abort() shouldn't make core 1 busy-spin; call epic_exit()
instead.  Fixes #76.
Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 46901642
......@@ -104,6 +104,11 @@ void HardFault_Handler(void)
epic_exit(255);
}
void _exit(void)
{
epic_exit(254);
}
void gc_collect(void)
{
void *sp = (void *)__get_MSP();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment