Fix MPU6K initialization

This commit is contained in:
Lorenz Meier
2016-08-19 11:09:44 +02:00
parent 90b509a73f
commit fe62c259e8
+3 -1
View File
@@ -474,8 +474,10 @@ MPU6000::MPU6000(device::Device *interface, const char *path_accel, const char *
_product(0),
#if defined(USE_I2C)
_work {},
#endif
_use_hrt(false),
#else
_use_hrt(true),
#endif
_call {},
_call_interval(0),
_accel_reports(nullptr),