mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Have to speed up the comms rate for gyro to handle the oversampling we are
using.
This commit is contained in:
parent
cefc2b8c2e
commit
952b4e1809
@ -487,7 +487,7 @@ static const struct pios_i2c_adapter_cfg pios_i2c_gyro_adapter_cfg = {
|
|||||||
.I2C_Ack = I2C_Ack_Enable,
|
.I2C_Ack = I2C_Ack_Enable,
|
||||||
.I2C_AcknowledgedAddress = I2C_AcknowledgedAddress_7bit,
|
.I2C_AcknowledgedAddress = I2C_AcknowledgedAddress_7bit,
|
||||||
.I2C_DutyCycle = I2C_DutyCycle_2,
|
.I2C_DutyCycle = I2C_DutyCycle_2,
|
||||||
.I2C_ClockSpeed = 400000, /* bits/s */
|
.I2C_ClockSpeed = 1000000, /* bits/s */
|
||||||
},
|
},
|
||||||
.transfer_timeout_ms = 50,
|
.transfer_timeout_ms = 50,
|
||||||
.scl = {
|
.scl = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user