diff --git a/libraries/AP_Compass/AP_Compass.cpp b/libraries/AP_Compass/AP_Compass.cpp index 3aa89a3170..9b1a654285 100644 --- a/libraries/AP_Compass/AP_Compass.cpp +++ b/libraries/AP_Compass/AP_Compass.cpp @@ -785,7 +785,8 @@ void Compass::init() } #ifndef HAL_BUILD_AP_PERIPH - AP::ahrs().set_compass(this); + // updating the AHRS orientation updates our own orientation: + AP::ahrs().update_orientation(); #endif init_done = true;