mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-02 03:45:46 +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)
|
bool AdminModule::handleSetModuleConfig(const meshtastic_ModuleConfig &c)
|
||||||
{
|
{
|
||||||
// If we are in an open transaction or configuring MQTT, defer Disable Bluetooth
|
// If we are in an open transaction or configuring MQTT, defer disabling Bluetooth
|
||||||
// Otherwise, disable Bluetooth to prevent any other module from sending data
|
// Otherwise, disable Bluetooth to prevent the phone from interfering with the config
|
||||||
if (!hasOpenEditTransaction && c.which_payload_variant != meshtastic_ModuleConfig_mqtt_tag)
|
if (!hasOpenEditTransaction && c.which_payload_variant != meshtastic_ModuleConfig_mqtt_tag)
|
||||||
disableBluetooth();
|
disableBluetooth();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user