Browse Source

Sanity check SWITCHING_EXTRUDER with SINGLENOZZLE

Scott Lahteine 6 years ago
parent
commit
1b200f3312
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      Marlin/src/inc/SanityCheck.h

+ 6
- 2
Marlin/src/inc/SanityCheck.h View File

582
 /**
582
 /**
583
  * Single Stepper Dual Extruder with switching servo
583
  * Single Stepper Dual Extruder with switching servo
584
  */
584
  */
585
-#if ENABLED(SWITCHING_EXTRUDER) && NUM_SERVOS < 1
586
-  #error "SWITCHING_EXTRUDER requires NUM_SERVOS >= 1."
585
+#if ENABLED(SWITCHING_EXTRUDER)
586
+  #if ENABLED(SINGLENOZZLE)
587
+    #error "SWITCHING_EXTRUDER and SINGLENOZZLE are incompatible."
588
+  #elif NUM_SERVOS < 1
589
+    #error "SWITCHING_EXTRUDER requires NUM_SERVOS >= 1."
590
+  #endif
587
 #endif
591
 #endif
588
 
592
 
589
 /**
593
 /**

Loading…
Cancel
Save