Skip to content

Commit

Permalink
thoneflow: remove unsupported parameter from getopt optsting
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR authored and dagar committed Aug 27, 2020
1 parent c319bbd commit d4296db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/optical_flow/thoneflow/thoneflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d4296db

Please sign in to comment.