From 79024f3fb94885942be5539e70a3fb24a77b1ca7 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 19 Jan 2017 11:47:00 -0800 Subject: atmel-samd: Change new flash FS name to CIRCUITPY Fixes #79 --- atmel-samd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atmel-samd/main.c b/atmel-samd/main.c index 336b08b57..e09778445 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 (res == FR_NO_FILESYSTEM) { + if (true || 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 @@ -89,7 +89,7 @@ void init_flash_fs(void) { } // set label - f_setlabel("MICROPYTHON"); + f_setlabel("CIRCUITPY"); if (usb_writeable) { vfs->flags |= FSUSER_USB_WRITEABLE; -- cgit v1.2.3