[1.1.x] Add 1284 support & misc. bug fixes (#9869)
This commit is contained in:
parent
d25f0a5a21
commit
de26374746
5 changed files with 87 additions and 43 deletions
|
|
@ -1050,7 +1050,9 @@ static_assert(1 >= 0
|
|||
#error "HEATER_0_PIN not defined for this board."
|
||||
#elif !PIN_EXISTS(TEMP_0) && !(defined(MAX6675_SS) && MAX6675_SS >= 0)
|
||||
#error "TEMP_0_PIN not defined for this board."
|
||||
#elif !PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR) || !PIN_EXISTS(E0_ENABLE)
|
||||
#elif ((defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && (!PIN_EXISTS(E0_STEP) || !PIN_EXISTS(E0_DIR)))
|
||||
#error "E0_STEP_PIN or E0_DIR_PIN not defined for this board."
|
||||
#elif ( !(defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && (!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."
|
||||
#elif TEMP_SENSOR_0 == 0
|
||||
#error "TEMP_SENSOR_0 is required."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue