This commit is contained in:
J. Nick Koston 2025-06-30 13:31:55 -05:00
parent 44a7c1d4a5
commit 340bb5cef6
No known key found for this signature in database

View File

@ -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; }