Apply #ifdef/#ifndef where possible
This commit is contained in:
@ -128,7 +128,7 @@
|
||||
// P2_08 E1-Step
|
||||
// P2_13 E1-Dir
|
||||
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN P0_01
|
||||
#endif
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Z-Bolt X Series board – based on Arduino Mega2560
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega2560__)
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 4 || E_STEPPERS > 4
|
||||
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
|
||||
|
Reference in New Issue
Block a user