rcS,rc.serial.jinja:ensure proper unset hygiene

Delete auto generated vars, and others that were missed.
This commit is contained in:
David Sidrane
2018-12-10 12:20:08 -08:00
committed by Daniel Agar
parent f851978101
commit 11f9925b02
2 changed files with 6 additions and 0 deletions

View File

@@ -22,9 +22,13 @@ fi
{% endfor %}
{% for serial_device in serial_devices -%}
unset PRT_{{ serial_device.tag }}_
{% endfor %}
unset i
unset SERIAL_DEV
unset PRT
unset PRT_F
unset BAUD_PARAM
unset MAV_ARGS