Verified Commit b5a3f1b2 authored by Rahix's avatar Rahix
Browse files

fix(pycardium): Show Pycardium header every time



Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 86354656
......@@ -30,11 +30,10 @@ int main(void)
pycardium_hal_init();
epic_uart_write_str(header, sizeof(header));
if (cnt < 0) {
printf("pycardium: Error fetching args: %d\n", cnt);
} else if (cnt > 0) {
epic_uart_write_str(header, sizeof(header));
printf(" Loading %s ...\n", script_name);
}
......@@ -50,6 +49,7 @@ int main(void)
pyexec_file_if_exists(script_name);
}
epic_uart_write_str(header, sizeof(header));
pyexec_friendly_repl();
mp_deinit();
......
Supports Markdown
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