mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: remove unused set_use_for_yaw
This commit is contained in:
parent
c6bf7475f2
commit
64c4b6a42b
|
@ -1724,12 +1724,6 @@ uint8_t Compass::get_num_enabled(void) const
|
|||
return count;
|
||||
}
|
||||
|
||||
void
|
||||
Compass::set_use_for_yaw(uint8_t i, bool use)
|
||||
{
|
||||
_use_for_yaw[Priority(i)].set(use);
|
||||
}
|
||||
|
||||
void
|
||||
Compass::set_declination(float radians, bool save_to_eeprom)
|
||||
{
|
||||
|
|
|
@ -212,8 +212,6 @@ public:
|
|||
bool use_for_yaw(uint8_t i) const;
|
||||
bool use_for_yaw(void) const;
|
||||
|
||||
void set_use_for_yaw(uint8_t i, bool use);
|
||||
|
||||
/// Sets the local magnetic field declination.
|
||||
///
|
||||
/// @param radians Local field declination.
|
||||
|
|
Loading…
Reference in New Issue