Apply #ifdef/#ifndef where possible
This commit is contained in:
@ -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