mirror of https://github.com/ArduPilot/ardupilot
APM: don't use mavlink msgs for accel cal in cli
This commit is contained in:
parent
3aeaf2ece6
commit
2f287846b5
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue