diff --git a/src/drivers/barometer/bmp280/bmp280.cpp b/src/drivers/barometer/bmp280/bmp280.cpp index 85bc81220d..6e765f66bc 100644 --- a/src/drivers/barometer/bmp280/bmp280.cpp +++ b/src/drivers/barometer/bmp280/bmp280.cpp @@ -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);