aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/DisplayApp.h')
-rw-r--r--src/displayapp/DisplayApp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.h b/src/displayapp/DisplayApp.h
index 96bce4dd..356e490f 100644
--- a/src/displayapp/DisplayApp.h
+++ b/src/displayapp/DisplayApp.h
@@ -135,6 +135,13 @@ namespace Pinetime {
Utility::StaticStack<FullRefreshDirections, returnAppStackSize> appStackDirections;
bool isDimmed = false;
+
+ TickType_t CalculateSleepTime();
+ TickType_t alwaysOnTickCount;
+ TickType_t alwaysOnStartTime;
+ // If this is to be changed, make sure the actual always on refresh rate is changed
+ // by configuring the LCD refresh timings
+ static constexpr uint32_t alwaysOnRefreshPeriod = 500;
};
}
}