kopia lustrzana https://github.com/espressif/esp-idf
c3fa2497b9
This prevents wear and tear on the flash, and it also is faster in some cases since the read-out of flash is a cheaper operation than the erasure of flash. Some library modules (such as the esp_wifi) write out to NVS upon every initialization without checking first that the existing value is the same, and this speeds up initialization of modules that make these design choices and moves it into a centralized place. The comparison functions are based on the read-out functions of the same name, and changes out the memcpy(...) operations for memcmp(...) operations. Signed-off-by: Tim Nordell <tim.nordell@nimbelink.com> |
||
---|---|---|
.. | ||
nvs.h | ||
nvs_flash.h |