Fixed typo

This commit is contained in:
Lorenz Meier 2013-03-15 19:58:20 +01:00
parent 7e4d6133ae
commit 37c1f30598
1 changed files with 1 additions and 1 deletions

View File

@ -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;