From ee98d75173c80b51722e54ec2b23f60581c37a00 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 23 Dec 2022 12:27:14 +1100 Subject: [PATCH] AP_InertialSensor: rename HAL_INS_ENABLED to AP_INERTIALSENSOR_ENABLED --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 5 ++--- libraries/AP_InertialSensor/BatchSampler.cpp | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 9f971ba0e5..ec62ac3897 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -2,7 +2,7 @@ #include #include -#if HAL_INS_ENABLED +#if AP_INERTIALSENSOR_ENABLED #include #include #include @@ -2516,5 +2516,4 @@ AP_InertialSensor &ins() }; -#endif //#if HAL_INS_ENABLED - +#endif // AP_INERTIALSENSOR_ENABLED diff --git a/libraries/AP_InertialSensor/BatchSampler.cpp b/libraries/AP_InertialSensor/BatchSampler.cpp index a7914d5a00..a0d8e786b5 100644 --- a/libraries/AP_InertialSensor/BatchSampler.cpp +++ b/libraries/AP_InertialSensor/BatchSampler.cpp @@ -1,6 +1,6 @@ #include "AP_InertialSensor.h" -#if HAL_INS_ENABLED +#if AP_INERTIALSENSOR_ENABLED #include #include @@ -282,4 +282,4 @@ void AP_InertialSensor::BatchSampler::sample(uint8_t _instance, AP_InertialSenso data_write_offset++; // may unblock the reading process #endif } -#endif //#if HAL_INS_ENABLED +#endif //#if AP_INERTIALSENSOR_ENABLED