MKS H43 controller (#20609)

This commit is contained in:
Sola
2021-02-28 07:35:32 +08:00
committed by GitHub
parent e0aa9ce372
commit c76008bd6a
33 changed files with 6314 additions and 720 deletions

View File

@@ -32,7 +32,13 @@
#include "eeprom_if.h"
#include <Wire.h>
void eeprom_init() { Wire.begin(); }
void eeprom_init() {
Wire.begin(
#if PINS_EXIST(I2C_SCL, I2C_SDA)
uint8_t(I2C_SDA_PIN), uint8_t(I2C_SCL_PIN)
#endif
);
}
#if ENABLED(USE_SHARED_EEPROM)