Comment, improve filament width sensor
This commit is contained in:
parent
7c1adff8ad
commit
8519451161
8 changed files with 69 additions and 48 deletions
|
|
@ -723,7 +723,7 @@ void Stepper::isr() {
|
|||
// step_rate to timer interval
|
||||
const uint16_t interval = calc_timer_interval(acc_step_rate);
|
||||
|
||||
SPLIT(interval); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
SPLIT(interval); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
_NEXT_ISR(ocr_val);
|
||||
|
||||
acceleration_time += interval;
|
||||
|
|
@ -756,7 +756,7 @@ void Stepper::isr() {
|
|||
// step_rate to timer interval
|
||||
const uint16_t interval = calc_timer_interval(step_rate);
|
||||
|
||||
SPLIT(interval); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
SPLIT(interval); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
_NEXT_ISR(ocr_val);
|
||||
|
||||
deceleration_time += interval;
|
||||
|
|
@ -786,7 +786,7 @@ void Stepper::isr() {
|
|||
|
||||
#endif
|
||||
|
||||
SPLIT(OCR1A_nominal); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
SPLIT(OCR1A_nominal); // split step into multiple ISRs if larger than ENDSTOP_NOMINAL_OCR_VAL
|
||||
_NEXT_ISR(ocr_val);
|
||||
|
||||
// ensure we're running at the correct step rate, even if we just came off an acceleration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue