mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 11:23:06 +08:00
ROMFS: only identify *.mix as mixer files
This commit is contained in:
@@ -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