advance_isr changed
This commit is contained in:
parent
ce04b518cc
commit
997937bd4c
|
|
@ -735,8 +735,6 @@ void isr() {
|
||||||
|
|
||||||
void advance_isr() {
|
void advance_isr() {
|
||||||
|
|
||||||
nextAdvanceISR = eISR_Rate;
|
|
||||||
|
|
||||||
if (e_steps) {
|
if (e_steps) {
|
||||||
bool dir =
|
bool dir =
|
||||||
#ifdef SNMM
|
#ifdef SNMM
|
||||||
|
|
@ -753,9 +751,10 @@ void isr() {
|
||||||
WRITE(E0_STEP_PIN, INVERT_E_STEP_PIN);
|
WRITE(E0_STEP_PIN, INVERT_E_STEP_PIN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(eISR_Rate == 0) {
|
else{
|
||||||
nextAdvanceISR = ADV_NEVER;
|
eISR_Rate = ADV_NEVER;
|
||||||
}
|
}
|
||||||
|
nextAdvanceISR = eISR_Rate;
|
||||||
}
|
}
|
||||||
|
|
||||||
void advance_isr_scheduler() {
|
void advance_isr_scheduler() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue