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