This commit is contained in:
ustbguan 2017-02-26 23:48:33 +08:00 committed by Julian Oes
parent f5ae90a7cb
commit 68701b197a
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ int DfBmp280Wrapper::_publish(struct baro_sensor_data &data)
baro_report baro_report = {};
baro_report.timestamp = hrt_absolute_time();
baro_report.pressure = data.pressure_pa;
baro_report.pressure = data.pressure_pa / 100.0f; // to mbar
baro_report.temperature = data.temperature_c;
// TODO: verify this, it's just copied from the MS5611 driver.