mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-15 09:32:08 +00:00
disable BT when TFT in use
This commit is contained in:
parent
01a1d864ec
commit
ffb18db48e
@ -189,10 +189,10 @@ bool NodeDB::resetRadioConfig(bool factory_reset)
|
|||||||
rebootAtMsec = millis() + (5 * 1000);
|
rebootAtMsec = millis() + (5 * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(T_DECK) && defined(HAS_TFT)
|
#if (defined(T_DECK) || defined(T_WATCH_S3) || defined(UNPHONE) || defined(PICOMPUTER_S3)) && defined(HAS_TFT)
|
||||||
config.bluetooth.enabled = false;
|
config.bluetooth.enabled = false;
|
||||||
if (moduleConfig.external_notification.nag_timeout == 60)
|
if (moduleConfig.external_notification.nag_timeout == 60)
|
||||||
moduleConfig.external_notification.nag_timeout = 3;
|
moduleConfig.external_notification.nag_timeout = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return didFactoryReset;
|
return didFactoryReset;
|
||||||
|
Loading…
Reference in New Issue
Block a user