8000 Merge pull request #5611 from jepler/issue5588 · tannewt/circuitpython@565bfeb · GitHub
[go: up one dir, main page]

Skip to content

Commit 565bfeb

Browse files
authored
Merge pull request micropython#5611 from jepler/issue5588
Don't use reset reason to skip writing boot_out.txt
2 parents 387a8a4 + f495ea4 commit 565bfeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
678678
FATFS *fs = &vfs->fatfs;
679679

680680
boot_output = NULL;
681-
bool write_boot_output = (common_hal_mcu_processor_get_reset_reason() == RESET_REASON_POWER_ON);
681+
bool write_boot_output = true;
682682
FIL boot_output_file;
683683
if (f_open(fs, &boot_output_file, CIRCUITPY_BOOT_OUTPUT_FILE, FA_READ) == FR_OK) {
684684
char *file_contents = m_new(char, boot_text.alloc);

0 commit comments

Comments
 (0)
0