summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-05-19 12:13:10 -0500
committerGitHub <noreply@github.com>2018-05-19 12:13:10 -0500
commitebeb32307d3c223c435304355dd56820a2e4529e (patch)
tree4f0ecd659c15a3d8db7b92812745c89eb58a9be0
parent1eb412b44d9bdaadcf546d0ffb26cabd69dd2878 (diff)
parent990da6d3637da3eafb0f9a71bc9e26e006e82195 (diff)
Merge pull request #848 from dhalbert/3.0-boot_output_file
3.0: wasn't always clearing boot_output_file
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 24f27438c..4402ebe32 100644
--- a/main.c
+++ b/main.c
@@ -329,8 +329,8 @@ int __attribute__((used)) main(void) {
if (!skip_boot_output) {
f_close(boot_output_file);
filesystem_flush();
- boot_output_file = NULL;
}
+ boot_output_file = NULL;
#endif
// Reset to remove any state that boot.py setup. It should only be used to