From f32c76648d072a233e9b2e8993bbdbc800f0670c Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Sat, 18 Aug 2012 16:03:26 +0900 Subject: [PATCH] ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings. --- ArduCopter/test.pde | 1 - 1 file changed, 1 deletion(-) diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index 8958cf101f..4d19653acc 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -1105,7 +1105,6 @@ test_mag(uint8_t argc, const Menu::arg *argv) delay(100); if (compass.read()) { float heading = compass.calculate_heading(ahrs.get_dcm_matrix()); - Vector3f maggy = compass.get_offsets(); Serial.printf_P(PSTR("Heading: %ld, XYZ: %d, %d, %d\n"), (wrap_360(ToDeg(heading) * 100)) /100, compass.mag_x,