1
0
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:
Alex
2020-12-01 17:41:39 -05:00
committed by GitHub
parent 7ff3f752e2
commit 3afb564a48
5 changed files with 12 additions and 3 deletions

View File

@@ -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)