Skip to content

Commit 144f900

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 518e656 + 60a0a3d commit 144f900

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

supervisor/shared/filesystem.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ bool filesystem_init(bool create_allowed, bool force_create) {
122122
return false;
123123
}
124124

125+
#if CIRCUITPY_USB
125126
// inhibit file indexing on MacOS
126127
res = f_mkdir(&vfs_fat->fatfs, "/.fseventsd");
127128
if (res != FR_OK) {
@@ -134,7 +135,7 @@ bool filesystem_init(bool create_allowed, bool force_create) {
134135
make_empty_file(&vfs_fat->fatfs, "/.Trashes"); // MacOS
135136
make_empty_file(&vfs_fat->fatfs, "/.Trash-1000"); // Linux, XDG trash spec:
136137
// https://specifications.freedesktop.org/trash-spec/trashspec-latest.html
137-
138+
#endif
138139

139140
#if CIRCUITPY_OS_GETENV
140141
make_empty_file(&vfs_fat->fatfs, "/settings.toml");

0 commit comments

Comments
 (0)