This commit is contained in:
Thomas Göttgens 2024-09-24 23:51:07 +02:00 committed by GitHub
parent 10c51d8a05
commit 65104d5d8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -624,7 +624,13 @@ void setup()
buttonThread = new ButtonThread(); buttonThread = new ButtonThread();
#endif #endif
playStartMelody(); // only play start melody when role is not tracker or sensor
if (config.power.is_power_saving == true && (config.device.role == meshtastic_Config_DeviceConfig_Role_TRACKER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_TAK_TRACKER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR))
LOG_DEBUG("Tracker/Sensor: Skipping start melody\n");
else
playStartMelody();
// fixed screen override? // fixed screen override?
if (config.display.oled != meshtastic_Config_DisplayConfig_OledType_OLED_AUTO) if (config.display.oled != meshtastic_Config_DisplayConfig_OledType_OLED_AUTO)