NVS duplicate writes
Posted: Thu Feb 13, 2020 3:34 pm
When updating a value of a key-value pair in NVS, does it check if the value changed or stayed the same?
I currently compare the saved value with the new one before writing to avoid unnecessary flash writes. However if the NVS backend does that already that would save some code and runtime.
-Patrick
I currently compare the saved value with the new one before writing to avoid unnecessary flash writes. However if the NVS backend does that already that would save some code and runtime.
-Patrick