Merge pull request #5088 from cwalther/bootout
Fix empty boot_out.txt (#5062)
This commit is contained in:
commit
0affb0b413
4
main.c
4
main.c
@ -633,11 +633,13 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
|
|||||||
|
|
||||||
static const char * const boot_py_filenames[] = STRING_LIST("boot.py", "boot.txt");
|
static const char * const boot_py_filenames[] = STRING_LIST("boot.py", "boot.txt");
|
||||||
bool skip_boot_output = false;
|
bool skip_boot_output = false;
|
||||||
|
#ifdef CIRCUITPY_BOOT_OUTPUT_FILE
|
||||||
|
FIL file_pointer;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (ok_to_run) {
|
if (ok_to_run) {
|
||||||
|
|
||||||
#ifdef CIRCUITPY_BOOT_OUTPUT_FILE
|
#ifdef CIRCUITPY_BOOT_OUTPUT_FILE
|
||||||
FIL file_pointer;
|
|
||||||
boot_output_file = &file_pointer;
|
boot_output_file = &file_pointer;
|
||||||
|
|
||||||
// Get the base filesystem.
|
// Get the base filesystem.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user