mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Fix OTA password mismatch error. (#2363)
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
This commit is contained in:
		| @@ -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; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user