ESP32-Console

This commit is contained in:
2025-01-09 17:28:57 -05:00
parent 28abfb9b7a
commit bf4a13dbdc

View File

@@ -19,7 +19,7 @@
static void initialize_nvs (void) {
esp_err_t err = nvs_flash_init();
if (err = ESP_ERR_NVS_NO_FREE_PAGES || err = ESP_ERR_NVS_NEW_VERSION_FOUND) {
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
ESP_ERROR_CHECK (nvs_flash_erase());
err = nvs_flash_init();
}