bmp388: Fixed compiler warning (error) for clang

voxl2-slpi: Added more barometers to the build
This commit is contained in:
Eric Katzfey 2025-03-05 15:33:23 -08:00 committed by Mathieu Bresciani
parent ea8bcd9cef
commit 139f3792f5
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,9 @@ CONFIG_PLATFORM_QURT=y
CONFIG_BOARD_TOOLCHAIN="qurt"
CONFIG_DRIVERS_ACTUATORS_VOXL_ESC=y
CONFIG_DRIVERS_BAROMETER_INVENSENSE_ICP101XX=y
CONFIG_DRIVERS_BAROMETER_MS5611=y
CONFIG_DRIVERS_BAROMETER_BMP280=y
CONFIG_DRIVERS_BAROMETER_BMP388=y
CONFIG_DRIVERS_DISTANCE_SENSOR_VL53L0X=y
CONFIG_DRIVERS_DISTANCE_SENSOR_VL53L1X=y
CONFIG_DRIVERS_GPS=y

View File

@ -325,6 +325,9 @@ BMP388::get_measurement_time()
case BMP3_OVERSAMPLING_8X:
meas_time_us = 22500;
break;
default:
break;
}
} else if (osr_t == BMP3_OVERSAMPLING_2X) {
@ -336,6 +339,9 @@ BMP388::get_measurement_time()
case BMP3_OVERSAMPLING_32X:
meas_time_us = 68900;
break;
default:
break;
}
}