|
|
@ -770,7 +770,7 @@ static_assert(1 >= 0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if !HAS_HEATER_0
|
|
|
|
#if !HAS_HEATER_0
|
|
|
|
#error "HEATER_0_PIN not defined for this board."
|
|
|
|
#error "HEATER_0_PIN not defined for this board."
|
|
|
|
#elif !PIN_EXISTS(TEMP_0)
|
|
|
|
#elif !PIN_EXISTS(TEMP_0) && !(defined(MAX6675_SS) && MAX6675_SS >= 0)
|
|
|
|
#error "TEMP_0_PIN not defined for this board."
|
|
|
|
#error "TEMP_0_PIN not defined for this board."
|
|
|
|
#elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
|
|
|
|
#elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
|
|
|
|
#error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."
|
|
|
|
#error "E0_STEP_PIN, E0_DIR_PIN, or E0_ENABLE_PIN not defined for this board."
|
|
|
|