mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 16:58:07 +01:00
esp32: fix NVS (#3497)
This commit is contained in:
parent
b66af9fb4d
commit
fb0fec1f25
@ -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 New Issue
Block a user