File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3535 || X_STEP_PIN == N || Y_STEP_PIN == N || Z_STEP_PIN == N \
3636 || X_DIR_PIN == N || Y_DIR_PIN == N || Z_DIR_PIN == N \
3737 || X_ENA_PIN == N || Y_ENA_PIN == N || Z_ENA_PIN == N \
38+ || BTN_EN1 == N || BTN_EN2 == N \
3839)
39- #if CONF_SERIAL_IS (0 ) // D0-D1. No known conflicts.
40+ #if CONF_SERIAL_IS (0 )
41+ // D0-D1. No known conflicts.
4042#endif
41- #if CONF_SERIAL_IS (1 ) && (CHECK_SERIAL_PIN (18 ) || CHECK_SERIAL_PIN (19 ))
42- #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
43+ #if NOT_TARGET (__AVR_ATmega644P__ , __AVR_ATmega1284P__ )
44+ #if CONF_SERIAL_IS (1 ) && (CHECK_SERIAL_PIN (18 ) || CHECK_SERIAL_PIN (19 ))
45+ #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
46+ #endif
47+ #else
48+ #if CONF_SERIAL_IS (1 ) && (CHECK_SERIAL_PIN (10 ) || CHECK_SERIAL_PIN (11 ))
49+ #error "Serial Port 1 pin D10 and/or D11 conflicts with another pin on the board."
50+ #endif
4351#endif
4452#if CONF_SERIAL_IS (2 ) && (CHECK_SERIAL_PIN (16 ) || CHECK_SERIAL_PIN (17 ))
4553 #error "Serial Port 2 pin D16 and/or D17 conflicts with another pin on the board."
You can’t perform that action at this time.
0 commit comments