configmanager.cpp: bugfix blescancycle NVRAM
This commit is contained in:
parent
9c15a86b77
commit
5cdb4d53aa
@ -110,7 +110,7 @@ void saveConfig() {
|
||||
nvs_set_i8(my_handle, "blescantime", cfg.blescantime);
|
||||
|
||||
if( nvs_get_i8(my_handle, "blescancycle", &flash8) != ESP_OK || flash8 != cfg.blescancycle )
|
||||
nvs_set_i8(my_handle, "blescantime", cfg.blescancycle);
|
||||
nvs_set_i8(my_handle, "blescancycle", cfg.blescancycle);
|
||||
|
||||
if( nvs_get_i8(my_handle, "blescanmode", &flash8) != ESP_OK || flash8 != cfg.blescan )
|
||||
nvs_set_i8(my_handle, "blescanmode", cfg.blescan);
|
||||
|
@ -1,5 +1,5 @@
|
||||
// program version - note: increment version after modifications to configData_t struct!!
|
||||
#define PROGVERSION "1.2.86" // use max 10 chars here!
|
||||
#define PROGVERSION "1.2.87" // use max 10 chars here!
|
||||
#define PROGNAME "PAXCNT"
|
||||
|
||||
// Verbose enables serial output
|
||||
|
Loading…
Reference in New Issue
Block a user