uncrustify libraries/AP_Compass/Compass.h

This commit is contained in:
uncrustify 2012-08-21 19:19:51 -07:00 committed by Pat Hickey
parent 8f9bb7f92c
commit cf69da594f

View File

@ -95,14 +95,18 @@ public:
/// @param y Offset to the raw mag_y value. /// @param y Offset to the raw mag_y value.
/// @param z Offset to the raw mag_z value. /// @param z Offset to the raw mag_z value.
/// ///
void set_offsets(int x, int y, int z) { set_offsets(Vector3f(x, y, z)); } void set_offsets(int x, int y, int z) {
set_offsets(Vector3f(x, y, z));
}
/// Perform automatic offset updates /// Perform automatic offset updates
/// ///
void null_offsets(void); void null_offsets(void);
/// return true if the compass should be used for yaw calculations /// return true if the compass should be used for yaw calculations
bool use_for_yaw(void) { return healthy && _use_for_yaw; } bool use_for_yaw(void) {
return healthy && _use_for_yaw;
}
/// Sets the local magnetic field declination. /// Sets the local magnetic field declination.
/// ///