|
|
@ -2462,8 +2462,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS |
|
|
|
#if HAS_I2C_DIGIPOT |
|
|
|
#if BOTH(DIGIPOT_MCP4018, DIGIPOT_MCP4451) |
|
|
|
#error "Enable only one of DIGIPOT_MCP4018 or DIGIPOT_MCP4451." |
|
|
|
#elif !defined(DIGIPOTS_I2C_SDA_X) || !defined(DIGIPOTS_I2C_SDA_Y) || !defined(DIGIPOTS_I2C_SDA_Z) \ |
|
|
|
|| !defined(DIGIPOTS_I2C_SDA_E0) || !defined(DIGIPOTS_I2C_SDA_E1) |
|
|
|
#elif !MB(MKS_SBASE) \ |
|
|
|
&& (!defined(DIGIPOTS_I2C_SDA_X) || !defined(DIGIPOTS_I2C_SDA_Y) || !defined(DIGIPOTS_I2C_SDA_Z) || !defined(DIGIPOTS_I2C_SDA_E0) || !defined(DIGIPOTS_I2C_SDA_E1)) |
|
|
|
#error "DIGIPOT_MCP4018/4451 requires DIGIPOTS_I2C_SDA_* pins to be defined." |
|
|
|
#endif |
|
|
|
#endif |
|
|
|