Skip to content

Commit 749d22b

Browse files
committed
atmel-samd: stop overwriting the flash FS.
1 parent 79024f3 commit 749d22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atmel-samd/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void init_flash_fs(void) {
7474
// try to mount the flash
7575
FRESULT res = f_mount(&vfs->fatfs, vfs->str, 1);
7676

77-
if (true || res == FR_NO_FILESYSTEM) {
77+
if (res == FR_NO_FILESYSTEM) {
7878
// no filesystem, or asked to reset it, so create a fresh one
7979

8080
// We are before USB initializes so temporarily undo the USB_WRITEABLE

0 commit comments

Comments
 (0)