From 3a222a9fa24c4a78dd0a8c9d35a09d33a65296d6 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Mon, 8 Aug 2011 22:20:50 +0000 Subject: [PATCH] =?UTF-8?q?2.0.39=20added=20callback=20to=20the=20test=20f?= =?UTF-8?q?unctions=E2=80=A6=20not=20sure=20if=20this=20is=20the=20correct?= =?UTF-8?q?=20thing=20to=20do.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/setup.pde | 2 +- ArduCopterMega/test.pde | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ArduCopterMega/setup.pde b/ArduCopterMega/setup.pde index a3e754d21b..5fb4ebfba9 100644 --- a/ArduCopterMega/setup.pde +++ b/ArduCopterMega/setup.pde @@ -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); diff --git a/ArduCopterMega/test.pde b/ArduCopterMega/test.pde index 8abc79df82..10801dcc68 100644 --- a/ArduCopterMega/test.pde +++ b/ArduCopterMega/test.pde @@ -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();