mirror of
https://github.com/meshtastic/python.git
synced 2026-09-22 19:55:33 -04:00
Add traffic management module to the config.
This commit is contained in:
1 parent
fee2b6ccbd
commit
545c3ab192
2 files changed
+6
No files matched your search
@@ -1455,6 +1455,10 @@ class MeshInterface: # pylint: disable=R0902
|
||||
self.localNode.moduleConfig.paxcounter.CopyFrom(
|
||||
fromRadio.moduleConfig.paxcounter
|
||||
)
|
||||
elif fromRadio.moduleConfig.HasField("traffic_management"):
|
||||
self.localNode.moduleConfig.traffic_management.CopyFrom(
|
||||
fromRadio.moduleConfig.traffic_management
|
||||
)
|
||||
|
||||
else:
|
||||
logger.debug("Unexpected FromRadio payload")
|
||||
|
||||
Reference in new issue
Block a user