mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Damnit. For higher bus speeds MPU6000 chip must be initialized twice in a row.
WTF piece of shit.
This commit is contained in:
parent
deea7cde41
commit
f7f94011ee
@ -63,6 +63,7 @@ void PIOS_MPU6000_Init(const struct pios_mpu6000_cfg * new_cfg)
|
||||
|
||||
/* Configure the MPU6050 Sensor */
|
||||
PIOS_MPU6000_Config(cfg);
|
||||
PIOS_MPU6000_Config(cfg);
|
||||
|
||||
/* Configure EOC pin as input floating */
|
||||
GPIO_Init(cfg->drdy.gpio, &cfg->drdy.init);
|
||||
|
Loading…
x
Reference in New Issue
Block a user