Skip to content

Conversation

rjwats
Copy link
Owner

@rjwats rjwats commented May 25, 2020

No description provided.

@rjwats
Copy link
Owner Author

rjwats commented May 25, 2020

@raomin Thx for the PR. I've made some minor changes in this branch.

Main thing is using the terminology "fs" rather than "spiffs", figured that made sense as SPIFFS is deprecated and is going to be replaced by LittleFS on esp8266.

Because the FS.h abstraction is so differnent between the two platforms, I can't think of a way to get this working how I'd like. Ideally I'd like SettingsService to take a pointer to the FS instance rather than reference the singleton. The intention here was that users could provide any FS implementation to be used as the storage for the framework (and SD card for instance).

I've left a comment in the code to that effect, hopefully the FS.h implementations will have feature parity at some point.

@rjwats rjwats merged commit 1e05546 into master May 25, 2020
@rjwats rjwats deleted the status-improvements2 branch May 25, 2020 15:29
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.

2 participants