mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
bmp280: fix device_id initialization
This commit is contained in:
@@ -422,6 +422,7 @@ BMP280::collect()
|
||||
/* this should be fairly close to the end of the conversion, so the best approximation of the time */
|
||||
report.timestamp = hrt_absolute_time();
|
||||
report.error_count = perf_event_count(_comms_errors);
|
||||
report.device_id = _interface->get_device_id();
|
||||
|
||||
bmp280::data_s *data = _interface->get_data(BMP280_ADDR_DATA);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user