From d4296dbd3f1f2be8bbec77667aa62d5ad4a88bfa Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Wed, 26 Aug 2020 23:19:43 +0200 Subject: [PATCH] thoneflow: remove unsupported parameter from getopt optsting --- src/drivers/optical_flow/thoneflow/thoneflow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/optical_flow/thoneflow/thoneflow.cpp b/src/drivers/optical_flow/thoneflow/thoneflow.cpp index a469f2a324..9f74b71212 100644 --- a/src/drivers/optical_flow/thoneflow/thoneflow.cpp +++ b/src/drivers/optical_flow/thoneflow/thoneflow.cpp @@ -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;