.) long to int: Extruder stalls at 10kHz / 20kHz step limits with long. .) Take the delta_adv_steps calculation out of the step_loops loop. Wasted calculation performance if done inside. .) >> 2 replaced by 3: Is divide by 8. Reason: Timer 0 runs at 16/8=2MHz, Timer 1 at 16/64=0.25MHz. ==> 2/0.25=8.
|
|
||
95 |
|
95 |
|
96 |
|
96 |
|
97 |
|
97 |
|
98 |
|
|
|
|
98 |
|
|
99 |
|
99 |
|
100 |
|
100 |
|
101 |
|
101 |
|
|
|
||
391 |
|
391 |
|
392 |
|
392 |
|
393 |
|
393 |
|
394 |
|
|
|
|
394 |
|
|
395 |
|
395 |
|
396 |
|
396 |
|
397 |
|
397 |
|
|
|
||
401 |
|
401 |
|
402 |
|
402 |
|
403 |
|
403 |
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
|
420 |
|
404 |
|
421 |
|
405 |
|
422 |
|
406 |
|
|
|
||
432 |
|
416 |
|
433 |
|
417 |
|
434 |
|
418 |
|
435 |
|
|
|
|
419 |
|
|
436 |
|
420 |
|
437 |
|
421 |
|
438 |
|
422 |
|
|
|
||
536 |
|
520 |
|
537 |
|
521 |
|
538 |
|
522 |
|
|
523 |
|
|
|
524 |
|
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
|
530 |
|
|
|
531 |
|
|
|
532 |
|
|
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
539 |
|
538 |
|
540 |
|
539 |
|
541 |
|
540 |
|
|
|
||
593 |
|
592 |
|
594 |
|
593 |
|
595 |
|
594 |
|
596 |
|
|
|
|
595 |
|
|
597 |
|
596 |
|
598 |
|
597 |
|
599 |
|
598 |
|
|
|
||
643 |
|
642 |
|
644 |
|
643 |
|
645 |
|
644 |
|
646 |
|
|
|
|
645 |
|
|
647 |
|
646 |
|
648 |
|
647 |
|
649 |
|
648 |
|
|
|
||
653 |
|
652 |
|
654 |
|
653 |
|
655 |
|
654 |
|
656 |
|
|
|
|
655 |
|
|
657 |
|
656 |
|
658 |
|
657 |
|
659 |
|
658 |
|
|
|
||
108 |
|
108 |
|
109 |
|
109 |
|
110 |
|
110 |
|
111 |
|
|
|
|
111 |
|
|
112 |
|
112 |
|
113 |
|
113 |
|
114 |
|
114 |
|