forked from Archive/PX4-Autopilot
Fixed typo
This commit is contained in:
parent
7e4d6133ae
commit
37c1f30598
|
@ -1653,7 +1653,7 @@ px4io_main(int argc, char *argv[])
|
|||
if (g_dev != nullptr) {
|
||||
|
||||
if ((argc > 2)) {
|
||||
g_dev->set_update_rate(atoi(argv[2 + 1]));
|
||||
g_dev->set_update_rate(atoi(argv[2]));
|
||||
} else {
|
||||
errx(1, "missing argument (50 - 200 Hz)");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue