APM: don't use mavlink msgs for accel cal in cli

This commit is contained in:
Andrew Tridgell 2012-11-20 18:24:40 +11:00
parent 3aeaf2ece6
commit 2f287846b5
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ static int8_t
setup_accel_scale(uint8_t argc, const Menu::arg *argv) setup_accel_scale(uint8_t argc, const Menu::arg *argv)
{ {
ins.init(AP_InertialSensor::COLD_START, delay, flash_leds, &timer_scheduler); ins.init(AP_InertialSensor::COLD_START, delay, flash_leds, &timer_scheduler);
ins.calibrate_accel(delay, flash_leds, gcs_send_text_fmt); ins.calibrate_accel(delay, flash_leds, NULL);
report_ins(); report_ins();
return(0); return(0);
} }