Browse Source

Fix MPU6K initialization

sbg
Lorenz Meier 9 years ago
parent
commit
fe62c259e8
  1. 4
      src/drivers/mpu6000/mpu6000.cpp

4
src/drivers/mpu6000/mpu6000.cpp

@ -474,8 +474,10 @@ MPU6000::MPU6000(device::Device *interface, const char *path_accel, const char *
_product(0), _product(0),
#if defined(USE_I2C) #if defined(USE_I2C)
_work {}, _work {},
#endif
_use_hrt(false), _use_hrt(false),
#else
_use_hrt(true),
#endif
_call {}, _call {},
_call_interval(0), _call_interval(0),
_accel_reports(nullptr), _accel_reports(nullptr),

Loading…
Cancel
Save