1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

[safe_mode] Reduce flash usage by 172 bytes through code optimization

This commit is contained in:
J. Nick Koston
2025-08-18 12:41:35 -05:00
parent 7d3a87c603
commit 571e6be404

View File

@@ -79,7 +79,7 @@ bool SafeModeComponent::should_enter_safe_mode(uint8_t num_attempts, uint32_t en
bool is_manual = rtc_val == SafeModeComponent::ENTER_SAFE_MODE_MAGIC;
if (is_manual) {
ESP_LOGI(TAG, "Manual safe mode");
ESP_LOGI(TAG, "Manual mode");
} else {
ESP_LOGCONFIG(TAG, "Unsuccessful boot attempts: %" PRIu32, rtc_val);
}