configmanager.cpp: bugfix blescancycle NVRAM
This commit is contained in:
1 parent
9c15a86b77
commit
5cdb4d53aa
2 files changed
+2
-2
No files matched your search
@@ -110,7 +110,7 @@ void saveConfig() {
|
|||||||
nvs_set_i8(my_handle, "blescantime", cfg.blescantime);
|
nvs_set_i8(my_handle, "blescantime", cfg.blescantime);
|
||||||
|
|
||||||
if( nvs_get_i8(my_handle, "blescancycle", &flash8) != ESP_OK || flash8 != cfg.blescancycle )
|
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 )
|
if( nvs_get_i8(my_handle, "blescanmode", &flash8) != ESP_OK || flash8 != cfg.blescan )
|
||||||
nvs_set_i8(my_handle, "blescanmode", cfg.blescan);
|
nvs_set_i8(my_handle, "blescanmode", cfg.blescan);
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// program version - note: increment version after modifications to configData_t struct!!
|
// 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"
|
#define PROGNAME "PAXCNT"
|
||||||
|
|
||||||
// Verbose enables serial output
|
// Verbose enables serial output
|
||||||
|
|||||||
Reference in new issue
Block a user