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:
jasonshort 2011-08-08 22:20:50 +00:00
parent 509447904e
commit 3a222a9fa2
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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();