Fix formatting.

This commit is contained in:
Jonas Diemer 2025-12-18 12:30:39 +01:00
parent 1a14b371fe
commit dbf8ce00d7
2 changed files with 39 additions and 40 deletions

View File

@ -154,8 +154,7 @@ bool Epub::load() {
return true;
}
void Epub::initializeSpineItemSizes(){
void Epub::initializeSpineItemSizes() {
setupCacheDir();
size_t spineItemsCount = getSpineItemsCount();

View File

@ -216,7 +216,7 @@ void loop() {
return;
}
if (inputManager.wasReleased(InputManager::BTN_POWER) && inputManager.getHeldTime() > POWER_BUTTON_WAKEUP_MS) {
if (inputManager.wasReleased(InputManager::BTN_POWER) && inputManager.getHeldTime() > POWER_BUTTON_SLEEP_MS) {
enterDeepSleep();
// This should never be hit as `enterDeepSleep` calls esp_deep_sleep_start
return;