🔨 Suppressible CONFIGURATION_EMBEDDING warning (#23545)
This commit is contained in:
committed by
Scott Lahteine
parent
d18558bbd3
commit
31ec8f2449
@ -548,11 +548,11 @@
|
||||
//
|
||||
// Warn users of potential endstop/DIAG pin conflicts to prevent homing issues when not using sensorless homing
|
||||
//
|
||||
#if NONE(USE_SENSORLESS, DIAG_JUMPERS_REMOVED)
|
||||
#if ENABLED(USES_DIAG_JUMPERS)
|
||||
#if !USE_SENSORLESS
|
||||
#if ENABLED(USES_DIAG_JUMPERS) && DISABLED(DIAG_JUMPERS_REMOVED)
|
||||
#warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
|
||||
#elif ENABLED(USES_DIAG_PINS)
|
||||
#warning "Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0) (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
|
||||
#elif ENABLED(USES_DIAG_PINS) && DISABLED(DIAG_PINS_REMOVED)
|
||||
#warning "Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0) (Define DIAG_PINS_REMOVED to suppress this warning.)"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user