mirror of
https://github.com/meshtastic/python.git
synced 2026-01-22 22:58:04 -05:00
Merge pull request #450 from GUVWAF/NeighborInfo
Setter for NeighborInfo Module
This commit is contained in:
@@ -188,6 +188,10 @@ class Node:
|
||||
p.set_module_config.remote_hardware.CopyFrom(
|
||||
self.moduleConfig.remote_hardware
|
||||
)
|
||||
elif config_name == "neighbor_info":
|
||||
p.set_module_config.neighbor_info.CopyFrom(
|
||||
self.moduleConfig.neighbor_info
|
||||
)
|
||||
else:
|
||||
our_exit(f"Error: No valid config with name {config_name}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user