diff --git a/libraries/AP_Compass/Compass.cpp b/libraries/AP_Compass/Compass.cpp index cfd2e68a12..f71932ef6d 100644 --- a/libraries/AP_Compass/Compass.cpp +++ b/libraries/AP_Compass/Compass.cpp @@ -637,57 +637,42 @@ void Compass::motor_compensation_type(const uint8_t comp_type) } } -uint8_t Compass::get_use_mask() const -{ - uint8_t ret = 0; - for (uint8_t i=0; i