Browse Source

Z and Y dual stepper drivers error

if you try to enable Z_DUAL_STEPPER_DRIVERS the error "You cannot have dual drivers for both Y and Z" shows even if you don't have defined Y_DUAL_STEPPER_DRIVERS and don't let you compile the firmware

to solve this problem i change this line:

#ifdef Z_DUAL_STEPPER_DRIVERS && Y_DUAL_STEPPER_DRIVERS

to:

#if defined (Z_DUAL_STEPPER_DRIVERS) && defined (Y_DUAL_STEPPER_DRIVERS)

now the error only show if you define both Z_DUAL_STEPPER_DRIVERS and Y_DUAL_STEPPER_DRIVERS
RicardoGA 10 years ago
parent
commit
d29615dc0c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Configuration_adv.h

+ 1
- 1
Marlin/Configuration_adv.h View File

161
   #define EXTRUDERS 1
161
   #define EXTRUDERS 1
162
 #endif
162
 #endif
163
 
163
 
164
-#ifdef Z_DUAL_STEPPER_DRIVERS && Y_DUAL_STEPPER_DRIVERS
164
+#if defined (Z_DUAL_STEPPER_DRIVERS) && defined (Y_DUAL_STEPPER_DRIVERS)
165
   #error "You cannot have dual drivers for both Y and Z"
165
   #error "You cannot have dual drivers for both Y and Z"
166
 #endif
166
 #endif
167
 
167
 

Loading…
Cancel
Save