forked from Archive/PX4-Autopilot
ROMFS: only identify *.mix as mixer files
This commit is contained in:
parent
a61a89f339
commit
94c40b6fa4
|
@ -67,7 +67,7 @@ def main():
|
|||
for line in f:
|
||||
|
||||
# handle mixer files differently than startup files
|
||||
if ".mix" in file_path:
|
||||
if file_path.endswith(".mix"):
|
||||
if line.startswith(("Z:", "M:", "R: ", "O:", "S:")):
|
||||
pruned_content += line
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue