bmp388: Fixed compiler warning (error) for clang

voxl2-slpi: Added more barometers to the build
This commit is contained in:
Eric Katzfey
2025-03-06 14:02:15 +01:00
committed by Mathieu Bresciani
parent ea8bcd9cef
commit 139f3792f5
2 changed files with 9 additions and 0 deletions
+6
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;
}
}