summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-05-19 12:13:39 -0500
committerGitHub <noreply@github.com>2018-05-19 12:13:39 -0500
commitba028ae62341a11743c8b66d2fd7e1d3eb2fe032 (patch)
tree33f07e447915c5fa6124c5a250548c745c96c16a
parent6e95c90401e280f36bd4ba3260b2886da0009886 (diff)
parent89d6f91ccc72913c206dc04438a6220dfa687cb0 (diff)
Merge pull request #849 from dhalbert/2.x_boot_output_file
2.x: wasn't always clearing boot_output_file
-rw-r--r--atmel-samd/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atmel-samd/main.c b/atmel-samd/main.c
index 5c473b211..dbf47482d 100644
--- a/atmel-samd/main.c
+++ b/atmel-samd/main.c
@@ -782,8 +782,8 @@ int main(void) {
if (!skip_boot_output) {
f_close(boot_output_file);
flash_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