Browse Source

AP_Compass: fixed PX4 build

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
86027f6e0f
  1. 2
      libraries/AP_Compass/AP_Compass_PX4.cpp

2
libraries/AP_Compass/AP_Compass_PX4.cpp

@ -83,7 +83,7 @@ bool AP_Compass_PX4::read(void) @@ -83,7 +83,7 @@ bool AP_Compass_PX4::read(void)
// apply default board orientation for this compass type. This is
// a noop on most boards
rot_mag.rotate(MAG_BOARD_ORIENTATION);
_sum.rotate(MAG_BOARD_ORIENTATION);
// add user selectable orientation
_sum.rotate((enum Rotation)_orientation.get());

Loading…
Cancel
Save