summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.h
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-07-20 15:30:07 +0200
committerKieran Cawthray <kieranc@gmail.com>2021-07-20 15:30:07 +0200
commitdb784fc2fb4e9095f3c1a0168a4b6978e8bfa76d (patch)
tree84bbed8c3a9ae57ad2fdbe92b0f61e8eadbc5fbc /src/systemtask/SystemTask.h
parent5c183bef8549368ca8709f98215d52f8e150ad57 (diff)
parent57b339707861c5688f5d432f1506a99df6bb0fce (diff)
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
Diffstat (limited to 'src/systemtask/SystemTask.h')
-rw-r--r--src/systemtask/SystemTask.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemtask/SystemTask.h b/src/systemtask/SystemTask.h
index bfb97264..f8cf6370 100644
--- a/src/systemtask/SystemTask.h
+++ b/src/systemtask/SystemTask.h
@@ -135,6 +135,8 @@ namespace Pinetime {
void GoToRunning();
void UpdateMotion();
bool stepCounterMustBeReset = false;
+ static constexpr TickType_t batteryNotificationPeriod = 1000 * 60 * 10; // 1 tick ~= 1ms. 1ms * 60 * 10 = 10 minutes
+ TickType_t batteryNotificationTick = 0;
#if configUSE_TRACE_FACILITY == 1
SystemMonitor<FreeRtosMonitor> monitor;