From 584ac8bdc9e9858986fe5eb450ccd76e9b4d01ca Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Sun, 18 May 2025 20:03:42 -0500 Subject: [PATCH] Default to MUI display for devices that support it --- src/mesh/NodeDB.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index 4b1a6d64d..7e274e67e 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -499,6 +499,9 @@ void NodeDB::installDefaultConfig(bool preserveKey = false) true; // FIXME: maybe false in the future, and setting region to enable it. (unset region forces it off) config.lora.override_duty_cycle = false; config.lora.config_ok_to_mqtt = false; +#if HAS_TFT // For the devices that support MUI, default to that + config.display.displaymode == meshtastic_Config_DisplayConfig_DisplayMode_COLOR; +#endif #ifdef USERPREFS_CONFIG_LORA_REGION config.lora.region = USERPREFS_CONFIG_LORA_REGION; #else