mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 12:37:35 +08:00
Bumped max SITL args to 10
This commit is contained in:
@@ -147,10 +147,10 @@ static void process_line(string &line, bool exit_on_fail)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
vector<string> appargs(8);
|
||||
vector<string> appargs(10);
|
||||
|
||||
stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4] >> appargs[5] >> appargs[6] >>
|
||||
appargs[7];
|
||||
appargs[7] >> appargs[8] >> appargs[9];
|
||||
run_cmd(appargs, exit_on_fail);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user