aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/DisplayApp.h
diff options
context:
space:
mode:
authormark9064 <30447455+mark9064@users.noreply.github.com>2024-01-25 22:28:53 +0000
committerJF <JF002@users.noreply.github.com>2024-08-05 20:32:43 +0200
commit2bb611db8e5be5731d848edef351f780c676deae (patch)
tree7cb6e36f1ac7313b95ce8e0fb1fd1998840f7532 /src/displayapp/DisplayApp.h
parentef88e8165c3d8475da2d7dcae78fd1b2ac7ff34d (diff)
aod: constant frequency idle frames
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;
};
}
}