mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-09-15 05:21:33 +00:00
Added option to turn off automatic menu update checking
This is because it uses additional memory than can cause some older devices to crash unless they have smaller menus.
This commit is contained in:
@@ -31,8 +31,9 @@ class Globals {
|
||||
//! an ErrorView.
|
||||
static const scApiResumeMs = 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.
|
||||
//! Threshold of memory usage (guessed) to consider a device unable to automatically check
|
||||
//! for a more recent menu due to insufficient memory.
|
||||
static const scLowMem = 0.85; // Fraction of total memory used.
|
||||
|
||||
//! Constant for PIN confirmation dialog.<br>
|
||||
//! Maximum number of failed PIN confirmation attempts allowed in `scPinMaxFailureMinutes`.
|
||||
|
Reference in New Issue
Block a user