mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 13:30:35 +08:00
increase number of arguments passable to apps
This commit is contained in:
@@ -79,9 +79,9 @@ static void run_cmd(const vector<string> &appargs) {
|
||||
|
||||
static void process_line(string &line)
|
||||
{
|
||||
vector<string> appargs(5);
|
||||
vector<string> appargs(8);
|
||||
|
||||
stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4];
|
||||
stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4] >> appargs[5] >> appargs[6] >> appargs[7];
|
||||
run_cmd(appargs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user