mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[esp32_improv] Disable loop by default until provisioning needed (#10764)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							e47f4ef602
						
					
				
				
					commit
					b9361b0868
				
			| @@ -31,6 +31,9 @@ void ESP32ImprovComponent::setup() { | ||||
| #endif | ||||
|   global_ble_server->on(BLEServerEvt::EmptyEvt::ON_DISCONNECT, | ||||
|                         [this](uint16_t conn_id) { this->set_error_(improv::ERROR_NONE); }); | ||||
|  | ||||
|   // Start with loop disabled - will be enabled by start() when needed | ||||
|   this->disable_loop(); | ||||
| } | ||||
|  | ||||
| void ESP32ImprovComponent::setup_characteristics() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user