run I2C at full freq
This commit is contained in:
parent
06310ab7ac
commit
3b69f67179
@ -43,7 +43,7 @@ void MPU::Init() {
|
||||
mpu_bus_ = &i2c1;
|
||||
// This is shared with the oled, so just use those pins
|
||||
mpu_bus_->setTimeout(10);
|
||||
mpu_bus_->begin(MPU_SDA, MPU_SCL, 100000);
|
||||
mpu_bus_->begin(MPU_SDA, MPU_SCL, 400000);
|
||||
mpu_ = new mpud::MPU(*mpu_bus_);
|
||||
|
||||
esp_err_t ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user