mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 06:10:45 +08:00
Fix MPU6K initialization
This commit is contained in:
1 parent
90b509a73f
commit
fe62c259e8
1 file changed
+3
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user