unreachable

This commit is contained in:
J. Nick Koston 2025-07-05 15:57:21 -05:00
parent 7c2d2ef5a3
commit f85dcdca4e
No known key found for this signature in database

View File

@ -75,11 +75,6 @@ bool DeepSleepComponent::prepare_to_sleep_() {
}
return false;
}
// If we were monitoring and now can sleep, clean up
if (this->sleep_state_ == SLEEP_STATE_BLOCKED_BY_WAKEUP_PIN) {
this->cancel_interval("wakeup_pin_check");
this->sleep_state_ = SLEEP_STATE_ENTERING_SLEEP;
}
return true;
}