Regarding the BME280 driver from Bosch, the function bme280_cal_meas_delay returns the required delay in millisecs. The return value is stored in the variable req_delay and then used in the following function call:
/* Wait for the measurement to complete and print data */
It seems there an unit error, because the dev->delay_us provides an mricosecond delay.
Is my understanding correct?