thoneflow: remove unsupported parameter from getopt optsting

This commit is contained in:
Matthias Grob 2020-08-26 23:19:43 +02:00 committed by Daniel Agar
parent c319bbd6f7
commit d4296dbd3f
No known key found for this signature in database
GPG Key ID: FD3CBA98017A69DE
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ thoneflow_main(int argc, char *argv[])
int myoptind = 1;
const char *myoptarg = nullptr;
while ((ch = px4_getopt(argc, argv, "R:d:", &myoptind, &myoptarg)) != EOF) {
while ((ch = px4_getopt(argc, argv, "d:", &myoptind, &myoptarg)) != EOF) {
switch (ch) {
case 'd':
device_path = myoptarg;