mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 17:03:34 +08:00
Fixed small typo
This commit is contained in:
@@ -272,7 +272,7 @@ do_accel(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
errx(1,"no arguments given. Try: \n\n\t'sampling 500' to set sampling to 500 Hz\n\t'rate 500' to set publication rate to 500 Hz\n\t'range 2' to set measurement range to 4 G\n\t");
|
errx(1,"no arguments given. Try: \n\n\t'sampling 500' to set sampling to 500 Hz\n\t'rate 500' to set publication rate to 500 Hz\n\t'range 4' to set measurement range to 4 G\n\t");
|
||||||
}
|
}
|
||||||
|
|
||||||
int srate = ioctl(fd, ACCELIOCGSAMPLERATE, 0);
|
int srate = ioctl(fd, ACCELIOCGSAMPLERATE, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user