mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-21 10:16:34 +00:00
Add TAG_NVS
This commit is contained in:
parent
8fa7a43f2e
commit
13522244dc
@ -29,7 +29,7 @@ bool nvsUpdateString(Preferences& preferences, const char* key, JsonVariant valu
|
||||
changed = true; // Nvs key doesnot exist, create it
|
||||
if(changed) {
|
||||
size_t len = preferences.putString(key, val);
|
||||
LOG_DEBUG(TAG_TIME, F(D_BULLET "Wrote %s => %s (%d bytes)"), key, val, len);
|
||||
LOG_DEBUG(TAG_NVS, F(D_BULLET "Wrote %s => %s (%d bytes)"), key, val, len);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -180,6 +180,7 @@ enum {
|
||||
|
||||
TAG_EPRM = 30,
|
||||
TAG_FILE = 31,
|
||||
TAG_NVS = 32,
|
||||
TAG_GPIO = 40,
|
||||
|
||||
TAG_ETH = 60,
|
||||
|
Loading…
x
Reference in New Issue
Block a user