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

Make multiple FS begin calls noops() SDFS/LittleFS #8235

Merged
merged 2 commits into from
Jul 26, 2021

Commits on Jul 23, 2021

  1. Make multiple FS begin calls noops() SDFS/LittleFS

    When LittleFS.begin() or SDFS.begin() is called after the filesystem is
    already mounted, don't unmount/remount.  When an unmount happens, all old
    Files become invalid (but the core doesn't know this), so you would end
    up with random crashes in FS code.
    
    Now, check for _mounted, and if so just return immediately from begin().
    This mimics the original SPIFFS code.
    
    Fixes earlephilhower/ESP8266Audio#407
    earlephilhower committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    d7c6c5e View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Configuration menu
    Copy the full SHA
    27de8ac View commit details
    Browse the repository at this point in the history