Skip to content
Snippets Groups Projects
Verified Commit 4c71aad9 authored by rahix's avatar rahix
Browse files

chore: Format


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 546a203c
Branches framebuffer-overlay
No related tags found
No related merge requests found
......@@ -27,6 +27,8 @@ void gc_collect(void)
void* dummy;
gc_collect_start();
gc_collect_root(&dummy, ((mp_uint_t)stack_top - (mp_uint_t)&dummy) / sizeof(mp_uint_t));
gc_collect_root(
&dummy,
((mp_uint_t)stack_top - (mp_uint_t)&dummy) / sizeof(mp_uint_t));
gc_collect_end();
}
......@@ -46,7 +46,11 @@ void mp_hal_delay_us(mp_uint_t us)
void NORETURN nlr_jump_fail(void* val)
{
/* TODO: Report error and restart */
char msg[] = " >>> nlr_jump_fail <<<\r\n";
epic_uart_write_str(msg, sizeof(msg));
while (1) {
__asm("nop");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment