mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 15:40:31 +08:00
bmp280: fix device id (device type not set)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user