mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 15:50:34 +08:00
a09c76d30d
The MPL3115A2 ADC conversion at OSR 2 (ratio 4) takes ~18ms. The driver polls until the conversion completes, so the read time is at the end of the integration window. Correct timestamp_sample to the midpoint by subtracting CONVERSION_TIME / 2.