Skip to content
Snippets Groups Projects
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: default avatarRahix <rahix@rahix.de>
parent 46901642
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment