Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fsdrv/fatfs): fix does not detect the end of entries in fs_dir_read #5826

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

serper
Copy link
Contributor

@serper serper commented Mar 10, 2024

The fs_dir_read function not takes into account the end of the entries, since it never finishes reading the next one, thus entering a loop (#5823).

Description of the feature or fix

fix to exit loop upon reaching last entry

Notes

The fs_dir_read function not takes into account the end of the entries, since it never finishes reading the next one, thus entering a loop.
@FASTSHIFT FASTSHIFT changed the title FATFS does not detect the end of entries in fs_dir_read fix(fsdrv/fatfs): fix does not detect the end of entries in fs_dir_read Mar 11, 2024
Copy link
Collaborator

@XuNeo XuNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

As a reference: http://elm-chan.org/fsw/ff/doc/readdir.html

@XuNeo XuNeo merged commit 6d8dbe9 into lvgl:master Mar 11, 2024
16 checks passed
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.

None yet

4 participants