mirror of https://github.com/ArduPilot/ardupilot
2.0.39
added callback to the test functions… not sure if this is the correct thing to do. git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
509447904e
commit
3a222a9fa2
|
@ -266,7 +266,7 @@ setup_motors(uint8_t argc, const Menu::arg *argv)
|
|||
static int8_t
|
||||
setup_accel(uint8_t argc, const Menu::arg *argv)
|
||||
{
|
||||
imu.init_accel();
|
||||
imu.init_accel(mavlink_delay);
|
||||
print_accel_offsets();
|
||||
report_imu();
|
||||
return(0);
|
||||
|
|
|
@ -444,7 +444,8 @@ test_imu(uint8_t argc, const Menu::arg *argv)
|
|||
//dcm.ki_yaw(0);
|
||||
|
||||
report_imu();
|
||||
imu.init_gyro();
|
||||
//imu.init_gyro();
|
||||
imu.init_gyro(mavlink_delay);
|
||||
report_imu();
|
||||
|
||||
print_hit_enter();
|
||||
|
|
Loading…
Reference in New Issue