Skip to content

Commit ba028ae

Browse files
authored
Merge pull request #849 from dhalbert/2.x_boot_output_file
2.x: wasn't always clearing boot_output_file
2 parents 6e95c90 + 89d6f91 commit ba028ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atmel-samd/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,8 @@ int main(void) {
782782
if (!skip_boot_output) {
783783
f_close(boot_output_file);
784784
flash_flush();
785-
boot_output_file = NULL;
786785
}
786+
boot_output_file = NULL;
787787
#endif
788788

789789
// Reset to remove any state that boot.py setup. It should only be used to

0 commit comments

Comments
 (0)