fix(core): change touch i2c clock speed to 200 kHz

fixes #1519
pull/1521/head
Pavol Rusnak 3 years ago
parent 97b43499e5
commit efac5d56f5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -97,7 +97,7 @@ static void _i2c_init(void) {
}
i2c_handle.Instance = I2C1;
i2c_handle.Init.ClockSpeed = 400000;
i2c_handle.Init.ClockSpeed = 200000;
i2c_handle.Init.DutyCycle = I2C_DUTYCYCLE_16_9;
i2c_handle.Init.OwnAddress1 = 0xFE; // master
i2c_handle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;

Loading…
Cancel
Save