mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: removed unused maggy variable from test.pde to reduce compiler warnings.
This commit is contained in:
parent
c534d6ad08
commit
f32c76648d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue