File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1122,8 +1122,8 @@ def subscribe() -> None:
11221122
11231123 # pub.subscribe(onNode, "meshtastic.node")
11241124
1125- def set_missing_flags_false (config_dict : dict , true_defaults : set [tuple [str , ... ]]) -> None :
1126- """Ensure that mission default=True keys are present in the config_dict and set to False."""
1125+ def set_missing_flags_false (config_dict : dict , true_defaults : set [tuple [str , str ]]) -> None :
1126+ """Ensure that missing default=True keys are present in the config_dict and set to False."""
11271127 for path in true_defaults :
11281128 d = config_dict
11291129 for key in path [:- 1 ]:
@@ -1137,6 +1137,7 @@ def export_config(interface) -> str:
11371137 """used in --export-config"""
11381138 configObj = {}
11391139
1140+ # A list of configuration keys that should be set to False if they are missing
11401141 true_defaults = {
11411142 ("bluetooth" , "enabled" ),
11421143 ("lora" , "sx126xRxBoostedGain" ),
You can’t perform that action at this time.
0 commit comments