atmel-samd: Change new flash FS name to CIRCUITPY

Fixes #79
This commit is contained in:
Scott Shawcroft 2017-01-19 11:47:00 -08:00
parent dad33e6ad0
commit 79024f3fb9

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 (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;