aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Goppert <james.goppert@gmail.com>2013-06-29 17:05:41 -0400
committerJames Goppert <james.goppert@gmail.com>2013-07-28 00:05:56 -0400
commit95aa82f586a8c44c53ae48517efdeb5e5673b7b5 (patch)
treebf6117e9c0728703a3363115cca28fd85ea17ab7
parent308f1dbfa4787e84665a3e822ddf7d1979f023ca (diff)
downloadpx4-firmware-95aa82f586a8c44c53ae48517efdeb5e5673b7b5.tar.gz
px4-firmware-95aa82f586a8c44c53ae48517efdeb5e5673b7b5.tar.bz2
px4-firmware-95aa82f586a8c44c53ae48517efdeb5e5673b7b5.zip
Fixed arg number.
-rw-r--r--src/drivers/md25/md25_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/md25/md25_main.cpp b/src/drivers/md25/md25_main.cpp
index b395088a3..3260705c1 100644
--- a/src/drivers/md25/md25_main.cpp
+++ b/src/drivers/md25/md25_main.cpp
@@ -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);
}