forked from Archive/PX4-Autopilot
increase number of arguments passable to apps
This commit is contained in:
parent
a77f637bc4
commit
4aa4038e27
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue