Build fix and airspeed console cal

This commit is contained in:
Lorenz Meier
2015-11-17 12:59:45 +01:00
parent 0509a5a9ea
commit 092a51426f
3 changed files with 23 additions and 21 deletions
+2
View File
@@ -362,6 +362,8 @@ int commander_main(int argc, char *argv[])
calib_ret = do_level_calibration(mavlink_fd);
} else if (!strcmp(argv[2], "esc")) {
calib_ret = do_esc_calibration(mavlink_fd, &armed);
} else if (!strcmp(argv[2], "airspeed")) {
calib_ret = do_airspeed_calibration(mavlink_fd);
} else {
warnx("argument %s unsupported.", argv[2]);
}