Fix test_ins

Fix output format of test_ins and fix the number of parameters passed
to printf
This commit is contained in:
tstellanova 2013-07-02 04:00:49 -10:00 committed by rmackay9
parent f3237b9e5d
commit 459c47fa46

View File

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