mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 09:26:52 +00:00
parent
10c51d8a05
commit
65104d5d8c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user