Fix MKS Base + Digipot compile error (#16636)
This commit is contained in:
1 parent
95d5a0c480
commit
e3611ad209
4 files changed
+10
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user