mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
esp32: fix NVS (#3497)
This commit is contained in:
parent
7092f7663e
commit
a8ceeaa7b0
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class ESP32Preferences : public ESPPreferences {
|
|||
ESP_LOGV(TAG, "nvs_get_blob('%s') failed: %s", to_save.key.c_str(), esp_err_to_name(err));
|
||||
return true;
|
||||
}
|
||||
return to_save.data == stored_data.data;
|
||||
return to_save.data != stored_data.data;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue