1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00
This commit is contained in:
J. Nick Koston
2025-06-30 13:32:59 -05:00
parent 340bb5cef6
commit 560886eb90

View File

@@ -112,6 +112,7 @@ class WebServerBase : public Component {
// TODO: In future PR, update this to use ota_base instead of duplicating OTA code
// Note: web_server OTA runs in a separate task, so use state_callback_.call_deferred()
// Note: web_server OTA does not support MD5, backends should only check MD5 if set
void add_ota_handler();
void set_port(uint16_t port) { port_ = port; }