summaryrefslogtreecommitdiff
path: root/supervisor/shared/filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'supervisor/shared/filesystem.c')
-rw-r--r--supervisor/shared/filesystem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c
index 09b30b6ba..874f25821 100644
--- a/supervisor/shared/filesystem.c
+++ b/supervisor/shared/filesystem.c
@@ -75,7 +75,7 @@ static void make_sample_code_file(FATFS *fatfs) {
FIL fs;
UINT char_written = 0;
const byte buffer[] = "print(\"Hello World!\")\n";
- //Create or modify existing code.py file
+ // Create or modify existing code.py file
f_open(fatfs, &fs, "/code.py", FA_WRITE | FA_CREATE_ALWAYS);
f_write(&fs, buffer, sizeof(buffer) - 1, &char_written);
f_close(&fs);
@@ -106,11 +106,11 @@ void filesystem_init(bool create_allowed, bool force_create) {
}
// set label
-#ifdef CIRCUITPY_DRIVE_LABEL
+ #ifdef CIRCUITPY_DRIVE_LABEL
res = f_setlabel(&vfs_fat->fatfs, CIRCUITPY_DRIVE_LABEL);
-#else
+ #else
res = f_setlabel(&vfs_fat->fatfs, "CIRCUITPY");
-#endif
+ #endif
if (res != FR_OK) {
return;
}