diff --git a/Rover/sensors.cpp b/Rover/sensors.cpp index bce8375485..afb0657c9b 100644 --- a/Rover/sensors.cpp +++ b/Rover/sensors.cpp @@ -10,7 +10,7 @@ void Rover::update_compass(void) // Save compass offsets void Rover::compass_save() { - if (AP::compass().enabled() && + if (AP::compass().available() && compass.get_learn_type() >= Compass::LEARN_INTERNAL && !arming.is_armed()) { compass.save_offsets();