mirror of
https://github.com/meshtastic/python.git
synced 2026-01-10 08:47:56 -05:00
Merge remote-tracking branch 'danwelch3/bugfix-466-yaml-import' into bugfix-466-yaml-import
This commit is contained in:
@@ -134,6 +134,7 @@ def splitCompoundName(comp_name):
|
||||
return name
|
||||
|
||||
def traverseConfig(config_root, config, interface_config):
|
||||
"""Iterate through current config level preferences and either traverse deeper if preference is a dict or set preference"""
|
||||
snake_name = meshtastic.util.camel_to_snake(config_root)
|
||||
for pref in config:
|
||||
pref_name = f"{snake_name}.{pref}"
|
||||
|
||||
Reference in New Issue
Block a user