Skip to content

Commit

Permalink
fixed ci errors-4
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulOCR committed Apr 26, 2024
1 parent cf7947d commit 74e5d68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#pragma once
#include "AP_TemperatureSensor_Backend.h"

#ifndef AP_TEMPERATURE_SENSOR_MLX90614_ENABLED
#define AP_TEMPERATURE_SENSOR_MLX90614_ENABLED AP_TEMPERATURE_SENSOR_ENABLED
#endif

#if AP_TEMPERATURE_SENSOR_MLX90614_ENABLED

#define MLX90614_I2CDEFAULTADDR 0x5A // Device default slave address
Expand Down
3 changes: 0 additions & 3 deletions libraries/AP_TemperatureSensor/AP_TemperatureSensor_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
#error AP_TEMPERATURE_SENSOR_DRONECAN_ENABLED requires HAL_ENABLE_DRONECAN_DRIVERS
#endif

#ifndef AP_TEMPERATURE_SENSOR_MLX90614_ENABLED
#define AP_TEMPERATURE_SENSOR_MLX90614_ENABLED 1
#endif

// maximum number of Temperature Sensors
#ifndef AP_TEMPERATURE_SENSOR_MAX_INSTANCES
Expand Down

0 comments on commit 74e5d68

Please sign in to comment.