Open ellensp opened 1 year ago
Further if you add #define E_DUAL_STEPPER_DRIVERS
to Configuration.h
so that the following is set:
#define E_STEPPERS 2
#define E_MANUAL 1
Then in indirection.h
the following block is not run: https://github.com/MarlinFirmware/Marlin/blob/181a57ae9b1899d2c7fe4170827adcff1d569bd4/Marlin/src/module/stepper/indirection.h#L710-L713
as the #elif E_STEPPERS > 1
block above it is selected instead
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
E_DUAL_STEPPER_DRIVERS
is set InConfiguration_adv.h
, butConditionals_LCD.h
is called beforeConfiguration_adv.h
In
Conditionals_LCD.h
is: https://github.com/MarlinFirmware/Marlin/blob/181a57ae9b1899d2c7fe4170827adcff1d569bd4/Marlin/src/inc/Conditionals_LCD.h#L116-L119Which can never be true as a this point the code has not set
E_DUAL_STEPPER_DRIVERS
thisiskeithb edit: Symptoms include E1 operating in standalone mode with incorrect microstepping, etc.
Bug Timeline
Unknown
Expected behavior
E_DUAL_STEPPER_DRIVERS
should set:Actual behavior
It does not set these defines.
Steps to Reproduce
#define E1_DRIVER_TYPE A4988
#define E_DUAL_STEPPER_DRIVERS
InConfiguration_adv.h
#error "should error"
under#if ENABLED(E_DUAL_STEPPER_DRIVERS)
inConditionals_LCD.h
That block of code is also greyed out, but you cant always relay on intellisense, but in this case it is correct. The block is not enabled.
Version of Marlin Firmware
bugfix-2.1.x
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Configuration.zip