mirror of https://github.com/ArduPilot/ardupilot
we should not be calling mavlink_delay() in the CLI
(this reverts svn 3050 from Jason) git-svn-id: https://arducopter.googlecode.com/svn/trunk@3167 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
725ccbc109
commit
0a2a64c848
|
@ -266,7 +266,7 @@ setup_motors(uint8_t argc, const Menu::arg *argv)
|
||||||
static int8_t
|
static int8_t
|
||||||
setup_accel(uint8_t argc, const Menu::arg *argv)
|
setup_accel(uint8_t argc, const Menu::arg *argv)
|
||||||
{
|
{
|
||||||
imu.init_accel(mavlink_delay);
|
imu.init_accel();
|
||||||
print_accel_offsets();
|
print_accel_offsets();
|
||||||
report_imu();
|
report_imu();
|
||||||
return(0);
|
return(0);
|
||||||
|
|
|
@ -444,8 +444,7 @@ test_imu(uint8_t argc, const Menu::arg *argv)
|
||||||
//dcm.ki_yaw(0);
|
//dcm.ki_yaw(0);
|
||||||
|
|
||||||
report_imu();
|
report_imu();
|
||||||
//imu.init_gyro();
|
imu.init_gyro();
|
||||||
imu.init_gyro(mavlink_delay);
|
|
||||||
report_imu();
|
report_imu();
|
||||||
|
|
||||||
print_hit_enter();
|
print_hit_enter();
|
||||||
|
|
Loading…
Reference in New Issue