mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
bmp388: Fixed compiler warning (error) for clang
voxl2-slpi: Added more barometers to the build
This commit is contained in:
parent
ea8bcd9cef
commit
139f3792f5
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user