Correct HOTENDS for SWITCHING_EXTRUDER
This commit is contained in:
1 parent
945139e328
commit
0ca9db7051
6 files changed
+44
-31
No files matched your search
@@ -1841,10 +1841,8 @@ uint32_t Stepper::stepper_block_phase_isr() {
|
||||
current_adv_steps++;
|
||||
interval = eISR_Rate;
|
||||
}
|
||||
else {
|
||||
interval = ADV_NEVER;
|
||||
eISR_Rate = ADV_NEVER;
|
||||
}
|
||||
else
|
||||
interval = eISR_Rate = ADV_NEVER;
|
||||
}
|
||||
else
|
||||
interval = ADV_NEVER;
|
||||
|
||||
@@ -42,6 +42,12 @@
|
||||
#define SOFT_PWM_SCALE 0
|
||||
#endif
|
||||
|
||||
#if HOTENDS == 1
|
||||
#define HOTEND_INDEX 0
|
||||
#else
|
||||
#define HOTEND_INDEX e
|
||||
#endif
|
||||
|
||||
/**
|
||||
* States for ADC reading in the ISR
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user