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

Library ignores if EERPROM is already being used #146

Open
AussieMakerGeek opened this issue Mar 1, 2022 · 0 comments
Open

Library ignores if EERPROM is already being used #146

AussieMakerGeek opened this issue Mar 1, 2022 · 0 comments

Comments

@AussieMakerGeek
Copy link

Hi - This one took me ages to figure why my existing code that uses the EEPROM broke as soon as I enabled the cache on ezTime.

Looking at line 878 of ezTime.cpp I see that once it has written to the EEPROM, it issues an eeprom.end() command when using ESP32.

Perhaps document this as well as maybe adding the option to disable this (Why end it anyway?).

I'm a bit fresh to the ESP32 and this code was migrated from Arduino Uno from some time ago so I have not messed with the NVS stuff yet - it's probably a better way to go but once the values in my device are set, they will stay for a long time.

Thanks for the great work.

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

No branches or pull requests

1 participant