Fix MKS Base + Digipot compile error (#16636)

This commit is contained in:
0r31
2020-01-26 08:08:40 +01:00
committed by Scott Lahteine
parent 95d5a0c480
commit e3611ad209
4 changed files with 10 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void digipot_i2c_set_current(const uint8_t channel, const float current) {
void digipot_i2c_init() {
#if MB(MKS_SBASE)
configure_i2c();
configure_i2c(16); // Setting clock_option to 16 ensure the I2C bus is initialized at 400kHz
#else
Wire.begin();
#endif