summaryrefslogtreecommitdiff
path: root/atmel-samd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'atmel-samd/main.c')
-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 e09778445..561de8316 100644
--- a/atmel-samd/main.c
+++ b/atmel-samd/main.c
@@ -74,7 +74,7 @@ void init_flash_fs(void) {
// try to mount the flash
FRESULT res = f_mount(&vfs->fatfs, vfs->str, 1);
- if (true || res == FR_NO_FILESYSTEM) {
+ if (res == FR_NO_FILESYSTEM) {
// no filesystem, or asked to reset it, so create a fresh one
// We are before USB initializes so temporarily undo the USB_WRITEABLE