Skip to content

Fix boolean/logical & mixup in LittleFS open#6996

Merged
earlephilhower merged 1 commit intoesp8266:masterfrom
earlephilhower:lfs-bug
Jan 7, 2020
Merged

Fix boolean/logical & mixup in LittleFS open#6996
earlephilhower merged 1 commit intoesp8266:masterfrom
earlephilhower:lfs-bug

Conversation

@earlephilhower
Copy link
Collaborator

To mimic SPIFFs behavior, we automatically create subdirectories when a
file is opened in a subdir.

The check mixed up a bitmask check with a boolean AND. Fix it.

To mimic SPIFFs behavior, we automatically create subdirectories when a
file is opened in a subdir.

The check mixed up a bitmask check with a boolean AND.  Fix it.
@earlephilhower earlephilhower added this to the 2.7.0 milestone Jan 7, 2020
@earlephilhower earlephilhower merged commit b4d2ab1 into esp8266:master Jan 7, 2020
@earlephilhower earlephilhower deleted the lfs-bug branch January 7, 2020 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant