forked from Archive/PX4-Autopilot
Fixed arg number.
This commit is contained in:
parent
308f1dbfa4
commit
95aa82f586
|
@ -138,7 +138,7 @@ int md25_main(int argc, char *argv[])
|
|||
|
||||
if (!strcmp(argv[1], "sine")) {
|
||||
|
||||
if (argc < 4) {
|
||||
if (argc < 6) {
|
||||
printf("usage: md25 sine bus address amp freq\n");
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue