We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c978768 + 3e8cf0d commit e74a4e5Copy full SHA for e74a4e5
main.c
@@ -299,7 +299,11 @@ STATIC bool maybe_run_list(const char *const *filenames, size_t n_filenames) {
299
if (_current_executing_filename == NULL) {
300
return false;
301
}
302
- mp_hal_stdout_tx_str(line_clear);
+
303
+ // This function is used for `boot.py` and is thus logged to `boot_out.txt`.
304
+ // We do not want the line clear to be logged.
305
+ // The function `serial_write` is the only function that isn't logged into the file.
306
+ serial_write(line_clear);
307
mp_hal_stdout_tx_str(_current_executing_filename);
308
serial_write_compressed(MP_ERROR_TEXT(" output:\n"));
309
0 commit comments