mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
bmp280: fix device id (device type not set)
This commit is contained in:
parent
091c111f4f
commit
dcbb03b785
@ -41,6 +41,7 @@ BMP280::BMP280(bmp280::IBMP280 *interface) :
|
||||
_measure_perf(perf_alloc(PC_ELAPSED, MODULE_NAME": measure")),
|
||||
_comms_errors(perf_alloc(PC_COUNT, MODULE_NAME": comms errors"))
|
||||
{
|
||||
_px4_baro.set_device_type(DRV_BARO_DEVTYPE_BMP280);
|
||||
}
|
||||
|
||||
BMP280::~BMP280()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user