mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
ROMFS: only identify *.mix as mixer files
This commit is contained in:
@@ -67,7 +67,7 @@ def main():
|
|||||||
for line in f:
|
for line in f:
|
||||||
|
|
||||||
# handle mixer files differently than startup files
|
# 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:")):
|
if line.startswith(("Z:", "M:", "R: ", "O:", "S:")):
|
||||||
pruned_content += line
|
pruned_content += line
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user