forked from Archive/PX4-Autopilot
parent
b54ca67de9
commit
471e1bc866
|
@ -241,7 +241,7 @@ PARAM_DEFINE_{param_type}({name}, {default_value});
|
||||||
for yaml_file in args.config_files:
|
for yaml_file in args.config_files:
|
||||||
with open(yaml_file, 'r') as stream:
|
with open(yaml_file, 'r') as stream:
|
||||||
try:
|
try:
|
||||||
yaml_config = yaml.load(stream)
|
yaml_config = yaml.load(stream, Loader=yaml.Loader)
|
||||||
serial_commands.extend(parse_yaml_serial_config(yaml_config))
|
serial_commands.extend(parse_yaml_serial_config(yaml_config))
|
||||||
|
|
||||||
# TODO: additional params should be parsed in a separate script
|
# TODO: additional params should be parsed in a separate script
|
||||||
|
|
Loading…
Reference in New Issue