remove acceleration tick from timer3, use the pending sv from stepper tick. this...
authorJim Morris <morris@wolfman.com>
Sat, 29 Nov 2014 07:01:04 +0000 (23:01 -0800)
committerJim Morris <morris@wolfman.com>
Sat, 29 Nov 2014 07:01:04 +0000 (23:01 -0800)
commita157d09906d8c7a7ad9c36f1487b0ef5393fd4d0
tree3762fb9eb3df96a35d51c5a17c1e4223260b4592
parent96f12364834c4431c34c24ca8a5bfdf49d6dcd45
remove acceleration tick from timer3, use the pending sv from stepper tick. this keeps it in sync
gets rid of the Timer3 hack to sync it with timer1, and removes a bunch of code.
any module can register with stepticker for an acceleration callback, uses a vector of Lambdas.
right now functionality and period of accleration is the same as it was before.
16 files changed:
src/libs/Kernel.cpp
src/libs/Kernel.h
src/libs/StepTicker.cpp
src/libs/StepTicker.h
src/libs/StepperMotor.cpp
src/libs/StepperMotor.h
src/modules/robot/Block.cpp
src/modules/robot/Planner.cpp
src/modules/robot/Stepper.cpp
src/modules/robot/Stepper.h
src/modules/tools/endstops/Endstops.cpp
src/modules/tools/endstops/Endstops.h
src/modules/tools/extruder/Extruder.cpp
src/modules/tools/extruder/Extruder.h
src/modules/tools/zprobe/ZProbe.cpp
src/modules/tools/zprobe/ZProbe.h