|
@@ -682,12 +682,12 @@ void Stepper::isr() {
|
682
|
682
|
OCR0A = old_OCR0A;
|
683
|
683
|
|
684
|
684
|
#define START_E_PULSE(INDEX) \
|
685
|
|
- if (e_steps[INDEX]) E## INDEX ##_STEP_WRITE(INVERT_E_STEP_PIN)
|
|
685
|
+ if (e_steps[INDEX]) E## INDEX ##_STEP_WRITE(!INVERT_E_STEP_PIN)
|
686
|
686
|
|
687
|
687
|
#define STOP_E_PULSE(INDEX) \
|
688
|
688
|
if (e_steps[INDEX]) { \
|
689
|
689
|
e_steps[INDEX] <= 0 ? ++e_steps[INDEX] : --e_steps[INDEX]; \
|
690
|
|
- E## INDEX ##_STEP_WRITE(!INVERT_E_STEP_PIN); \
|
|
690
|
+ E## INDEX ##_STEP_WRITE(INVERT_E_STEP_PIN); \
|
691
|
691
|
}
|
692
|
692
|
|
693
|
693
|
// Step all E steppers that have steps
|