make esp_littlefs_info thread-safe, and a few corrections from upstream#54
Open
softhack007 wants to merge 12 commits intolorol:masterfrom
Open
make esp_littlefs_info thread-safe, and a few corrections from upstream#54softhack007 wants to merge 12 commits intolorol:masterfrom
softhack007 wants to merge 12 commits intolorol:masterfrom
Conversation
fixed multithreading problem in requesting the FS info
fixed small bug
multithreading problem in esp_littlefs_info
back-ported two additional fixes from joltwallet/esp_littlefs: * do not allow esp_littlefs_info to report used_bytes > total_bytes * fix bug where esp_littlefs_info returns ESP_OK if it fails to get partition by label
seems that 2 arguments are needed, not 3
seems that arduino-esp32 has recently added a third parameter to open()
not needed for the general case
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
This is a patch roll-up that we use in our project WLED - actually we cannot use newer IDF versions, because there are annoying bugs in the I2S and ADC/DAC drivers. So we still use your library.
We had problems with corrupted file systems. To overcome these problems, we've merged a few things in that seemed helpful.
I'm submitting our version back to you, hoping that other projects might have a benefit.
Thanks for creating this great library,
Frank.