AP_Compass: remove unused set_use_for_yaw

This commit is contained in:
Randy Mackay 2021-03-30 17:13:56 +09:00 committed by Andrew Tridgell
parent c6bf7475f2
commit 64c4b6a42b
2 changed files with 0 additions and 8 deletions

View File

@ -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)
{

View File

@ -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.