mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
[safe_mode] Reduce flash usage by 172 bytes through code optimization
This commit is contained in:
@@ -98,7 +98,7 @@ bool SafeModeComponent::should_enter_safe_mode(uint8_t num_attempts, uint32_t en
|
||||
|
||||
this->status_set_error();
|
||||
this->set_timeout(enable_time, []() {
|
||||
ESP_LOGW(TAG, "Safe mode timeout - restarting");
|
||||
ESP_LOGW(TAG, "Timeout, restarting");
|
||||
App.reboot();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user