summaryrefslogtreecommitdiff
path: root/atmel-samd/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-01-19 11:47:00 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-01-19 11:47:06 -0800
commit79024f3fb94885942be5539e70a3fb24a77b1ca7 (patch)
tree54b731a51dc34937536a2a5b03bfd8490dac7c14 /atmel-samd/main.c
parentdad33e6ad035a36aa676f44987225eac39d69ac0 (diff)
atmel-samd: Change new flash FS name to CIRCUITPY
Fixes #79
Diffstat (limited to 'atmel-samd/main.c')
-rw-r--r--atmel-samd/main.c4
1 files 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;