diff --git a/atmel-samd/main.c b/atmel-samd/main.c index 5c473b211d..dbf47482d8 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