Open
Description
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
E_DUAL_STEPPER_DRIVERS
is set In Configuration_adv.h
, but Conditionals_LCD.h
is called before Configuration_adv.h
In Conditionals_LCD.h
is:
Marlin/Marlin/src/inc/Conditionals_LCD.h
Lines 116 to 119 in 181a57a
Which 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:
#define E_STEPPERS 2
#define E_MANUAL 1
Actual behavior
It does not set these defines.
Steps to Reproduce
- get current bugfix
- enable
#define E1_DRIVER_TYPE A4988
- enable
#define E_DUAL_STEPPER_DRIVERS
InConfiguration_adv.h
- As a simple test add
#error "should error"
under#if ENABLED(E_DUAL_STEPPER_DRIVERS)
inConditionals_LCD.h
- build. If it was working as expected it would now error on this #error. It does not.
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
- A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.