|
@ -2846,7 +2846,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal |
|
|
#if HAS_MOTOR_CURRENT_I2C |
|
|
#if HAS_MOTOR_CURRENT_I2C |
|
|
#if BOTH(DIGIPOT_MCP4018, DIGIPOT_MCP4451) |
|
|
#if BOTH(DIGIPOT_MCP4018, DIGIPOT_MCP4451) |
|
|
#error "Enable only one of DIGIPOT_MCP4018 or DIGIPOT_MCP4451." |
|
|
#error "Enable only one of DIGIPOT_MCP4018 or DIGIPOT_MCP4451." |
|
|
#elif !MB(MKS_SBASE) \ |
|
|
#elif !MB(MKS_SBASE, AZTEEG_X5_GT, AZTEEG_X5_MINI, AZTEEG_X5_MINI_WIFI) \ |
|
|
&& (!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)) |
|
|
&& (!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." |
|
|
#error "DIGIPOT_MCP4018/4451 requires DIGIPOTS_I2C_SDA_* pins to be defined." |
|
|
#endif |
|
|
#endif |
|
|