mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add small delay before setting up app in safe mode (#3323)
This commit is contained in:
		| @@ -473,6 +473,8 @@ bool OTAComponent::should_enter_safe_mode(uint8_t num_attempts, uint32_t enable_ | |||||||
|       App.reboot(); |       App.reboot(); | ||||||
|     }); |     }); | ||||||
|  |  | ||||||
|  |     // Delay here to allow power to stabilise before Wi-Fi/Ethernet is initialised. | ||||||
|  |     delay(100);  // NOLINT | ||||||
|     App.setup(); |     App.setup(); | ||||||
|  |  | ||||||
|     ESP_LOGI(TAG, "Waiting for OTA attempt."); |     ESP_LOGI(TAG, "Waiting for OTA attempt."); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user