atmel-samd: stop overwriting the flash FS.

This commit is contained in:
Scott Shawcroft 2017-01-19 14:26:57 -08:00
parent 79024f3fb9
commit 749d22b5e6

View File

@ -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