mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	clenaup
This commit is contained in:
		| @@ -111,7 +111,7 @@ class WebServerBase : public Component { | ||||
|   void add_handler(AsyncWebHandler *handler); | ||||
|  | ||||
|   // TODO: In future PR, update this to use ota_base instead of duplicating OTA code | ||||
|   // Note: OTA callbacks in ota_base are automatically thread-safe via defer() | ||||
|   // Note: web_server OTA runs in a separate task, so use state_callback_.call_deferred() | ||||
|   void add_ota_handler(); | ||||
|  | ||||
|   void set_port(uint16_t port) { port_ = port; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user