remove default argument for saveConfig()
This commit is contained in:
parent
c9b0990203
commit
5c5752805b
@ -7,7 +7,7 @@
|
||||
|
||||
extern configData_t cfg;
|
||||
|
||||
void saveConfig(bool erase = false);
|
||||
void saveConfig(bool erase);
|
||||
bool loadConfig(void);
|
||||
void eraseConfig(void);
|
||||
int version_compare(const String v1, const String v2);
|
||||
|
@ -197,7 +197,7 @@ void updateState(void) {
|
||||
memcpy(cfg.bsecstate, bsecstate_buffer, BSEC_MAX_STATE_BLOB_SIZE);
|
||||
cfg.bsecstate[BSEC_MAX_STATE_BLOB_SIZE] = BSEC_MAX_STATE_BLOB_SIZE;
|
||||
ESP_LOGI(TAG, "saving BSEC state to NVRAM");
|
||||
saveConfig();
|
||||
saveConfig(false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user