Digipots refactor / cleanup (#19690)

This commit is contained in:
Scott Lahteine committed 2021-04-29 08:45:02 -05:00
1 parent 2e01eb9189
commit a30e8baf3e
23 files changed
+240 -187

No files matched your search

+1 -1
View File
@@ -2667,7 +2667,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
/**
* Digipot requirement
*/
#if HAS_I2C_DIGIPOT
#if HAS_MOTOR_CURRENT_I2C
#if BOTH(DIGIPOT_MCP4018, DIGIPOT_MCP4451)
#error "Enable only one of DIGIPOT_MCP4018 or DIGIPOT_MCP4451."
#elif !MB(MKS_SBASE) \