mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-28 19:21:03 +08:00
ROMFS: only identify *.mix as mixer files
This commit is contained in:
1 parent
a61a89f339
commit
94c40b6fa4
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user