Turn off LED after REPL

This commit is contained in:
Scott Shawcroft 2021-05-18 11:32:45 -07:00
parent 5c33c9d597
commit 6164d44e6d
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 5 additions and 0 deletions

5
main.c
View File

@ -647,6 +647,11 @@ STATIC int run_repl(void) {
exit_code = pyexec_friendly_repl(); exit_code = pyexec_friendly_repl();
} }
cleanup_after_vm(heap); cleanup_after_vm(heap);
#if CIRCUITPY_STATUS_LED
status_led_init();
new_status_color(BLACK);
status_led_deinit();
#endif
autoreload_resume(); autoreload_resume();
return exit_code; return exit_code;
} }