mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
REVONANO - Increase fast_prescaler for the MPU so that it doesn't consume all CPU
This commit is contained in:
parent
3d0607c4dc
commit
8c8abc3cb5
@ -146,7 +146,7 @@ static const struct pios_mpu9250_cfg pios_mpu9250_cfg = {
|
|||||||
.Smpl_rate_div_no_dlp = 0,
|
.Smpl_rate_div_no_dlp = 0,
|
||||||
// with dlp on output rate is 1000Hz
|
// with dlp on output rate is 1000Hz
|
||||||
.Smpl_rate_div_dlp = 0,
|
.Smpl_rate_div_dlp = 0,
|
||||||
.interrupt_cfg = PIOS_MPU9250_INT_CLR_ANYRD | PIOS_MPU9250_INT_LATCH_EN,
|
.interrupt_cfg = PIOS_MPU9250_INT_CLR_ANYRD,// | PIOS_MPU9250_INT_LATCH_EN,
|
||||||
.interrupt_en = PIOS_MPU9250_INTEN_DATA_RDY,
|
.interrupt_en = PIOS_MPU9250_INTEN_DATA_RDY,
|
||||||
.User_ctl = PIOS_MPU9250_USERCTL_DIS_I2C | PIOS_MPU9250_USERCTL_I2C_MST_EN,
|
.User_ctl = PIOS_MPU9250_USERCTL_DIS_I2C | PIOS_MPU9250_USERCTL_I2C_MST_EN,
|
||||||
.Pwr_mgmt_clk = PIOS_MPU9250_PWRMGMT_PLL_X_CLK,
|
.Pwr_mgmt_clk = PIOS_MPU9250_PWRMGMT_PLL_X_CLK,
|
||||||
|
Loading…
Reference in New Issue
Block a user