Add main.c to codeformat
This commit is contained in:
parent
c607efe557
commit
2bcfb15283
|
@ -254,8 +254,7 @@ STATIC void cleanup_after_vm(supervisor_allocation* heap, mp_obj_t exception) {
|
|||
mp_obj_print_exception(&print, exception);
|
||||
((char *)prev_traceback_allocation->ptr)[traceback_len] = '\0';
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
prev_traceback_allocation = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -912,12 +911,14 @@ void gc_collect(void) {
|
|||
|
||||
void NORETURN nlr_jump_fail(void *val) {
|
||||
reset_into_safe_mode(MICROPY_NLR_JUMP_FAIL);
|
||||
while (true) {}
|
||||
while (true) {
|
||||
}
|
||||
}
|
||||
|
||||
void NORETURN __fatal_error(const char *msg) {
|
||||
reset_into_safe_mode(MICROPY_FATAL_ERROR);
|
||||
while (true) {}
|
||||
while (true) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
|
|
@ -38,6 +38,7 @@ import subprocess
|
|||
# Relative to top-level repo dir.
|
||||
PATHS = [
|
||||
# C
|
||||
"main.c",
|
||||
"devices/**/*.[ch]",
|
||||
"drivers/bus/*.[ch]",
|
||||
"extmod/*.[ch]",
|
||||
|
|
Loading…
Reference in New Issue