Apply #ifdef/#ifndef where possible

This commit is contained in:
Scott Lahteine committed 2019-09-01 23:54:50 -05:00
1 parent 4078f2672e
commit 34b73426e5
32 files changed
+141 -141

No files matched your search

+1 -1
View File
@@ -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."