mavlink: remove 'p' from px4_getopt()

It is not handled and not documented.
This commit is contained in:
Beat Küng
2017-07-14 11:57:11 +02:00
parent 0909b58981
commit 6778be2c6e
+1 -1
View File
@@ -1748,7 +1748,7 @@ Mavlink::task_main(int argc, char *argv[])
int temp_int_arg;
#endif
while ((ch = px4_getopt(argc, argv, "b:r:d:u:o:m:t:fpvwx", &myoptind, &myoptarg)) != EOF) {
while ((ch = px4_getopt(argc, argv, "b:r:d:u:o:m:t:fvwx", &myoptind, &myoptarg)) != EOF) {
switch (ch) {
case 'b':
_baudrate = strtoul(myoptarg, nullptr, 10);