forked from Archive/PX4-Autopilot
hmc5883: setup device type
This commit is contained in:
parent
a2739707bb
commit
30a6a3d0b6
|
@ -341,6 +341,8 @@ HMC5883::HMC5883(int bus, const char *path, enum Rotation rotation) :
|
|||
_bus(bus),
|
||||
_rotation(rotation)
|
||||
{
|
||||
_device_id.devid_s.devtype = DRV_MAG_DEVTYPE_HMC5883;
|
||||
|
||||
// enable debug() calls
|
||||
_debug_enabled = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue