mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 06:58:11 +01:00
Fix OTA password mismatch error. (#2363)
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
This commit is contained in:
parent
491f8cc611
commit
92a24d52be
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ void OTAComponent::handle_() {
|
||||||
ESP_LOGV(TAG, "Auth: Result is %s", sbuf);
|
ESP_LOGV(TAG, "Auth: Result is %s", sbuf);
|
||||||
|
|
||||||
// Receive result, 32 bytes hex MD5
|
// Receive result, 32 bytes hex MD5
|
||||||
if (!this->writeall_(buf + 64, 32)) {
|
if (!this->readall_(buf + 64, 32)) {
|
||||||
ESP_LOGW(TAG, "Auth: Reading response failed!");
|
ESP_LOGW(TAG, "Auth: Reading response failed!");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue