mirror of
https://github.com/esphome/esphome.git
synced 2025-08-06 18:37:47 +00:00
clenaup
This commit is contained in:
parent
44a7c1d4a5
commit
340bb5cef6
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user