mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 21:13:33 +08:00
posix sitl: bring the pxh back
This commit is contained in:
@@ -132,10 +132,6 @@ static void run_cmd(const vector<string> &appargs, bool exit_on_fail)
|
|||||||
cout << endl << "Invalid command: " << command << "\ntype 'help' for a list of commands" << endl;
|
cout << endl << "Invalid command: " << command << "\ntype 'help' for a list of commands" << endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exit_on_fail) {
|
|
||||||
print_prompt();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void usage()
|
static void usage()
|
||||||
@@ -318,6 +314,8 @@ int main(int argc, char **argv)
|
|||||||
process_line(mystr, false);
|
process_line(mystr, false);
|
||||||
mystr = "";
|
mystr = "";
|
||||||
buf_ptr_read = buf_ptr_write;
|
buf_ptr_read = buf_ptr_write;
|
||||||
|
|
||||||
|
print_prompt();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '\033': { // arrow keys
|
case '\033': { // arrow keys
|
||||||
|
|||||||
Reference in New Issue
Block a user