Removed timer based update mechanism

Instead chaining calls from the previous update is a slightly close coupled way that might need to be refined.
This commit is contained in:
Philip Abbey
2023-11-11 20:00:26 +00:00
parent fde270ff34
commit 765d7f7f50
40 changed files with 79 additions and 58 deletions

View File

@ -23,9 +23,7 @@ using Toybox.Lang;
class Globals {
// Enable printing of messages to the debug console (don't make this a Property
// as the messages can't be read from a watch!)
static const scDebug = false;
// There's a danger this time is device sensitive.
static const scMenuItemUpdateInterval = 100; // ms, 100 ms seems okay for Venu2
static const scAlertTimeout = 2000; // ms
static const scTapTimeout = 1000; // ms
static const scDebug = false;
static const scAlertTimeout = 2000; // ms
static const scTapTimeout = 1000; // ms
}