-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
SdFat -> FS HAL mode fixes & test #8833
Conversation
* re-use SdFat value through static const, no need to hard-code our values w/ cast in the macro * separate read-modes from flags * simple compile-time tests in .cpp resolve esp8266#8831
'New' thing is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice debug.
Reason is: upstream O_READ was 1 and now is 0 since our release v3.
Thanks
Pull in the portion of the change correcting the flag setting from esp8266/Arduino#8833
Pull in the portion of the change correcting the flag setting from esp8266/Arduino#8833
* re-use SdFat access mode through static const, no need to hard-code our own value w/ cast in the macro * separate read-modes from flags; read, write and rw are distinct numbers * simple compile-time tests in .cpp resolve esp8266#8831
resolve #8831