Skip to content
Snippets Groups Projects
Commit fe62c259 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Fix MPU6K initialization

parent 90b509a7
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment