mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 06:53:34 +08:00
Driver compile fixes
This commit is contained in:
@@ -763,7 +763,7 @@ MS5611::collect()
|
||||
report.pressure = P / 100.0f; /* convert to millibar */
|
||||
|
||||
/* return device ID */
|
||||
report.device_id = _device_id;
|
||||
report.device_id = _device_id.devid;
|
||||
|
||||
/* altitude calculations based on http://www.kansasflyer.org/index.asp?nav=Avi&sec=Alti&tab=Theory&pg=1 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user