From b4d6ee0a02ed623ca8e1d4f94e9ab40d47394c4b Mon Sep 17 00:00:00 2001 From: Rahul Date: Fri, 26 Apr 2024 12:53:37 +0530 Subject: [PATCH] fixed ci errors-5 --- .../AP_TemperatureSensor_MLX90614.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/AP_TemperatureSensor/AP_TemperatureSensor_MLX90614.cpp b/libraries/AP_TemperatureSensor/AP_TemperatureSensor_MLX90614.cpp index 1659149c0d96dd..c2e34341e66dea 100644 --- a/libraries/AP_TemperatureSensor/AP_TemperatureSensor_MLX90614.cpp +++ b/libraries/AP_TemperatureSensor/AP_TemperatureSensor_MLX90614.cpp @@ -1,9 +1,12 @@ +#include "AP_TemperatureSensor_MLX90614.h" + +#if AP_TEMPERATURE_SENSOR_MLX90614_ENABLED + #include #include #include #include #include -#include "AP_TemperatureSensor_MLX90614.h" extern const AP_HAL::HAL &hal; @@ -64,7 +67,5 @@ uint16_t AP_TemperatureSensor_MLX90614::read_data(uint8_t cmd) { return UINT16_VALUE(val[1],val[0]); } - - - +#endif // AP_TEMPERATURE_SENSOR_MLX90614_ENABLED