forked from Archive/PX4-Autopilot
We need to init the gyro subdevice, or there is no device node. Oops.
This commit is contained in:
parent
295e9da1ba
commit
f28a757f92
|
@ -430,6 +430,8 @@ MPU6000::init()
|
|||
// write_reg(MPUREG_PWR_MGMT_1,MPU_CLK_SEL_PLLGYROZ);
|
||||
usleep(1000);
|
||||
|
||||
/* do CDev init for the gyro device node */
|
||||
ret = _gyro->init();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue