Fixes and improvements (#445)

- Remove unnecessary CS work-around for Cardputers
- Don't compile WifiMock when not necessary
- Fix for running apps on devices without SPIRAM
- Disable backlight dimming by default
This commit is contained in:
Ken Van Hoeylandt
2026-01-04 14:27:10 +01:00
committed by GitHub
parent 2ca8ae62fb
commit 719f7bcece
5 changed files with 14 additions and 8 deletions
@@ -92,7 +92,7 @@ bool load(DisplaySettings& settings) {
}
}
bool timeout_enabled = true;
bool timeout_enabled = false;
auto timeout_enabled_entry = map.find(SETTINGS_KEY_TIMEOUT_ENABLED);
if (timeout_enabled_entry != map.end()) {
timeout_enabled = (timeout_enabled_entry->second == "1" || timeout_enabled_entry->second == "true" || timeout_enabled_entry->second == "True");
@@ -118,7 +118,7 @@ DisplaySettings getDefault() {
.orientation = getDefaultOrientation(),
.gammaCurve = 1,
.backlightDuty = 200,
.backlightTimeoutEnabled = true,
.backlightTimeoutEnabled = false,
.backlightTimeoutMs = 60000
};
}