[factory_reset] Combine log statements to reduce loop blocking (#12866)

This commit is contained in:
J. Nick Koston
2026-01-04 08:34:16 -10:00
committed by GitHub
parent dff8dc0ed1
commit 77b3ffee00

View File

@@ -30,8 +30,8 @@ static bool was_power_cycled() {
void FactoryResetComponent::dump_config() {
uint8_t count = 0;
this->flash_.load(&count);
ESP_LOGCONFIG(TAG, "Factory Reset by Reset:");
ESP_LOGCONFIG(TAG,
"Factory Reset by Reset:\n"
" Max interval between resets: %u seconds\n"
" Current count: %u\n"
" Factory reset after %u resets",