mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 19:05:44 +00:00
Verbiage
This commit is contained in:
parent
9646669d92
commit
10449a2cc4
@ -798,8 +798,8 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c)
|
||||
|
||||
bool AdminModule::handleSetModuleConfig(const meshtastic_ModuleConfig &c)
|
||||
{
|
||||
// If we are in an open transaction or configuring MQTT, defer Disable Bluetooth
|
||||
// Otherwise, disable Bluetooth to prevent any other module from sending data
|
||||
// If we are in an open transaction or configuring MQTT, defer disabling Bluetooth
|
||||
// Otherwise, disable Bluetooth to prevent the phone from interfering with the config
|
||||
if (!hasOpenEditTransaction && c.which_payload_variant != meshtastic_ModuleConfig_mqtt_tag)
|
||||
disableBluetooth();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user