kopia lustrzana https://github.com/meshtastic/firmware
cherry-pick: disable BT when TFT in use (#5705)
* disable BT when TFT in use * add comment BT disable --------- Co-authored-by: mverch67 <manuel.verch@gmx.de>ch341-mac^2
rodzic
f9e71c3fb9
commit
d1e5be515a
|
@ -409,6 +409,13 @@ bool NodeDB::resetRadioConfig(bool factory_reset)
|
|||
rebootAtMsec = millis() + (5 * 1000);
|
||||
}
|
||||
|
||||
#if (defined(T_DECK) || defined(T_WATCH_S3) || defined(UNPHONE) || defined(PICOMPUTER_S3)) && defined(HAS_TFT)
|
||||
// as long as PhoneAPI shares BT and TFT app switch BT off
|
||||
config.bluetooth.enabled = false;
|
||||
if (moduleConfig.external_notification.nag_timeout == 60)
|
||||
moduleConfig.external_notification.nag_timeout = 0;
|
||||
#endif
|
||||
|
||||
return didFactoryReset;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue