We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b81c0e2 + f204b17 commit 60a0a3dCopy full SHA for 60a0a3d
supervisor/shared/filesystem.c
@@ -122,6 +122,7 @@ bool filesystem_init(bool create_allowed, bool force_create) {
122
return false;
123
}
124
125
+ #if CIRCUITPY_USB
126
// inhibit file indexing on MacOS
127
res = f_mkdir(&vfs_fat->fatfs, "/.fseventsd");
128
if (res != FR_OK) {
@@ -134,7 +135,7 @@ bool filesystem_init(bool create_allowed, bool force_create) {
134
135
make_empty_file(&vfs_fat->fatfs, "/.Trashes"); // MacOS
136
make_empty_file(&vfs_fat->fatfs, "/.Trash-1000"); // Linux, XDG trash spec:
137
// https://specifications.freedesktop.org/trash-spec/trashspec-latest.html
-
138
+ #endif
139
140
#if CIRCUITPY_OS_GETENV
141
make_empty_file(&vfs_fat->fatfs, "/settings.toml");
0 commit comments