Namespaces | |
namespace | anonymous_namespace{settings.cpp} |
Classes | |
class | Accessories |
Accessories stored in NVS. More... | |
class | Base |
NVS base. More... | |
class | Locos |
Locos stored in NVS. More... | |
class | Settings |
Settings stored in NVS. More... | |
Functions | |
esp_err_t | init () |
Initialize NVS. | |
esp_err_t mem::nvs::init | ( | ) |
nvs::init() is responsible for initializing the NVS memory during the boot phase. If the NVS partition is truncated for any reason, the entire memory is erased and then reinitialized. The default settings will be restored in this case.