move PIN constants to Globals.mc

This commit is contained in:
Matthias Oesterheld
2024-11-17 11:00:45 +01:00
parent 666854c5c6
commit f3e6879540
2 changed files with 10 additions and 8 deletions

View File

@ -32,4 +32,10 @@ class Globals {
static const scApiResume = 200; // ms
// Warn the user after fetching the menu if their watch is low on memory before the device crashes.
static const scLowMem = 0.90; // percent as a fraction.
// constants for PIN confirmation dialog
static const scPinMaxFailures = 5; // maximum number of failed pin confirmation attemps allwed in ...
static const scPinMaxFailureMinutes = 2; // ... this number of minutes before pin confirmation is locked for ...
static const scPinLockTimeMinutes = 10; // ... this number of minutes
}