mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-20 18:53:47 +01:00 
			
		
		
		
	preen
This commit is contained in:
		| @@ -223,14 +223,13 @@ void ESPHomeOTAComponent::handle_handshake_() { | ||||
|       // If password is set, move to auth phase | ||||
|       if (!this->password_.empty()) { | ||||
|         this->transition_ota_state_(OTAState::AUTH_SEND); | ||||
|         [[fallthrough]]; | ||||
|       } else | ||||
| #endif | ||||
|       { | ||||
|         // No password, move directly to data phase | ||||
|         this->transition_ota_state_(OTAState::DATA); | ||||
|         [[fallthrough]]; | ||||
|       } | ||||
|       [[fallthrough]]; | ||||
|     } | ||||
|  | ||||
| #ifdef USE_OTA_PASSWORD | ||||
|   | ||||
		Reference in New Issue
	
	Block a user