Added parameter to Preferences::begin to select non-default NVS partition (#4718)

This commit is contained in:
bot1131357
2021-01-16 04:06:51 +11:00
committed by GitHub
parent d2530850a3
commit 8d0e68db4f
2 changed files with 14 additions and 3 deletions

View File

@ -29,7 +29,7 @@ class Preferences {
Preferences();
~Preferences();
bool begin(const char * name, bool readOnly=false);
bool begin(const char * name, bool readOnly=false, const char* partition_label=NULL);
void end();
bool clear();