mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 05:33:33 +08:00
sensor messages remove unused fields and improve comments
This commit is contained in:
committed by
Lorenz Meier
parent
fc8a05f636
commit
cc96e5ec5e
@@ -779,11 +779,9 @@ BMI055_accel::measure()
|
||||
arb.z_integral = aval_integrated(2);
|
||||
|
||||
arb.scaling = _accel_range_scale;
|
||||
arb.range_m_s2 = _accel_range_m_s2;
|
||||
|
||||
_last_temperature = 23 + report.temp * 1.0f / 512.0f;
|
||||
|
||||
arb.temperature_raw = report.temp;
|
||||
arb.temperature = _last_temperature;
|
||||
arb.device_id = _device_id.devid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user