From 7ec0cb47a5853e5d14c8d3492495c0a8472d5481 Mon Sep 17 00:00:00 2001 From: murata Date: Fri, 11 Oct 2019 23:57:44 +0900 Subject: [PATCH] AP_Compass: const extern hal reference --- libraries/AP_Compass/AP_Compass_Calibration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Compass/AP_Compass_Calibration.cpp b/libraries/AP_Compass/AP_Compass_Calibration.cpp index 786ef2226d..442892c4b2 100644 --- a/libraries/AP_Compass/AP_Compass_Calibration.cpp +++ b/libraries/AP_Compass/AP_Compass_Calibration.cpp @@ -7,7 +7,7 @@ #include "AP_Compass.h" -extern AP_HAL::HAL& hal; +const extern AP_HAL::HAL& hal; #if COMPASS_CAL_ENABLED