mirror of
https://github.com/meshtastic/python.git
synced 2026-05-19 14:01:09 -04:00
Missed some spots
This commit is contained in:
@@ -556,6 +556,8 @@ class MeshInterface:
|
||||
self.localNode.localConfig.display.CopyFrom(fromRadio.config.display)
|
||||
elif fromRadio.config.HasField("lora"):
|
||||
self.localNode.localConfig.lora.CopyFrom(fromRadio.config.lora)
|
||||
elif fromRadio.config.HasField("bluetooth"):
|
||||
self.localNode.localConfig.bluetooth.CopyFrom(fromRadio.config.bluetooth)
|
||||
|
||||
elif fromRadio.moduleConfig.HasField("mqtt"):
|
||||
self.localNode.moduleConfig.mqtt.CopyFrom(fromRadio.moduleConfig.mqtt)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -127,7 +127,7 @@ class Node:
|
||||
|
||||
if self.localConfig.bluetooth:
|
||||
p = admin_pb2.AdminMessage()
|
||||
p.set_config.lora.CopyFrom(self.localConfig.bluetooth)
|
||||
p.set_config.bluetooth.CopyFrom(self.localConfig.bluetooth)
|
||||
self._sendAdmin(p)
|
||||
logging.debug("Wrote bluetooth")
|
||||
time.sleep(0.3)
|
||||
|
||||
Reference in New Issue
Block a user