mirror of
https://github.com/esphome/esphome.git
synced 2025-10-05 03:13:49 +01:00
Configurable OTA Safe Mode (#1393)
This commit is contained in:
@@ -47,7 +47,7 @@ class OTAComponent : public Component {
|
||||
/// Manually set the port OTA should listen on.
|
||||
void set_port(uint16_t port);
|
||||
|
||||
void start_safe_mode(uint8_t num_attempts = 10, uint32_t enable_time = 120000);
|
||||
void start_safe_mode(uint8_t num_attempts, uint32_t enable_time);
|
||||
|
||||
// ========== INTERNAL METHODS ==========
|
||||
// (In most use cases you won't need these)
|
||||
|
Reference in New Issue
Block a user