Merge remote-tracking branch 'danwelch3/bugfix-466-yaml-import' into bugfix-466-yaml-import

This commit is contained in:
Ian McEwen committed 2024-04-16 13:53:54 -07:00
commit d8107122a2
1 file changed
+1
+1
View File
@@ -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}"