Skip to content

Conversation

@ThomasFarstrike
Copy link
Contributor

While testing with an SD card that has a FAT filesystem on it, I noticed that, unlike LittleFS, VfsFat returns an [Errno 22] EINVAL when a directory has a trailing slash.

This fix removes the trailing slash, except for the root directory.

While testing with an SD card that has a FAT filesystem on it, I noticed that, unlike LittleFS, VfsFat returns an [Errno 22] EINVAL when a directory has a trailing slash.

This fix removes the trailing slash, except for the root directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant