From 459c47fa464df92e42db5ea39fc02ff81dcc178b Mon Sep 17 00:00:00 2001 From: tstellanova Date: Tue, 2 Jul 2013 04:00:49 -1000 Subject: [PATCH] Fix test_ins Fix output format of test_ins and fix the number of parameters passed to printf --- ArduCopter/test.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index 32eee0562b..b1e65ad126 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -301,6 +301,7 @@ test_ins(uint8_t argc, const Menu::arg *argv) ins.init(AP_InertialSensor::COLD_START, ins_sample_rate, flash_leds); + cliSerial->printf_P(PSTR("...done\n")); delay(50); @@ -311,7 +312,7 @@ test_ins(uint8_t argc, const Menu::arg *argv) float test = accel.length() / GRAVITY_MSS; - cliSerial->printf_P(PSTR("a %7.4f %7.4f %7.4f g %7.4f %7.4f %7.4f t %74f | %7.4f\n"), + cliSerial->printf_P(PSTR("a %7.4f %7.4f %7.4f g %7.4f %7.4f %7.4f t %7.4f \n"), accel.x, accel.y, accel.z, gyro.x, gyro.y, gyro.z, test);