mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 09:31:36 +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)
|
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);
|
run_cmd(appargs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user