Skip to content

Commit d6cf52b

Browse files
committedApr 23, 2023
clean up some #errors
1 parent cdb827d commit d6cf52b

8 files changed

+16
-12
lines changed
 

‎Marlin/src/pins/esp32/pins_E4D.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030

3131
#include "env_validate.h"
3232

33-
#if EXTRUDERS > 1 || E_STEPPERS > 1
34-
#error "E4d@box only supports 1 E stepper."
35-
#elif HAS_MULTI_HOTEND
33+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
3634
#error "E4d@box only supports 1 hotend / E stepper."
3735
#endif
3836

‎Marlin/src/pins/esp32/pins_FYSETC_E4.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030

3131
#include "env_validate.h"
3232

33-
#if EXTRUDERS > 1 || E_STEPPERS > 1
34-
#error "FYSETC E4 only supports 1 E stepper."
35-
#elif HAS_MULTI_HOTEND
33+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
3634
#error "FYSETC E4 only supports 1 hotend / E stepper."
3735
#endif
3836

‎Marlin/src/pins/esp32/pins_MRR_ESPA.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030

3131
#include "env_validate.h"
3232

33-
#if EXTRUDERS > 1 || E_STEPPERS > 1
34-
#error "MRR ESPA only supports 1 E stepper."
35-
#elif HAS_MULTI_HOTEND
33+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
3634
#error "MRR ESPA only supports 1 hotend / E stepper."
3735
#endif
3836

‎Marlin/src/pins/esp32/pins_PANDA_M4.h

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727

2828
#define BOARD_INFO_NAME "Panda_M4"
2929

30+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
31+
#error "PANDA M4 only supports 1 hotend / E stepper."
32+
#endif
33+
3034
#include "pins_PANDA_common.h"
3135

3236
//

‎Marlin/src/pins/esp32/pins_PANDA_ZHU.h

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727

2828
#define BOARD_INFO_NAME "Panda_ZHU"
2929

30+
#if E_STEPPERS > 5
31+
#error "PANDA ZHU supports up to 5 E steppers."
32+
#if HAS_MULTI_HOTEND
33+
#error "PANDA ZHU only supports 1 hotend."
34+
#endif
35+
3036
#include "pins_PANDA_common.h"
3137

3238
//

‎Marlin/src/pins/stm32f4/pins_ARTILLERY_RUBY.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include "env_validate.h"
2525

26-
#if HOTENDS > 1 || E_STEPPERS > 1
26+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
2727
#error "Artillery Ruby only supports 1 hotend / E stepper."
2828
#endif
2929

‎Marlin/src/pins/stm32f4/pins_BTT_SKR_MINI_E3_V3_0_1.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include "env_validate.h"
2727

28-
#if HOTENDS > 1 || E_STEPPERS > 1
28+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
2929
#error "BTT SKR Mini E3 V3.0.1 supports up to 1 hotend / E stepper."
3030
#endif
3131

‎Marlin/src/pins/stm32f4/pins_TH3D_EZBOARD_V2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#define ALLOW_STM32DUINO
2525
#include "env_validate.h"
2626

27-
#if HOTENDS > 1 || E_STEPPERS > 1
27+
#if HAS_MULTI_HOTEND || E_STEPPERS > 1
2828
#error "TH3D EZBoard only supports 1 hotend / E stepper."
2929
#endif
3030

0 commit comments

Comments
 (0)