mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-03-04 17:14:38 -07:00
stepper: Note mcu code deprecation if missing STEPPER_STEP_BOTH_EDGE
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
6bbc90697a
commit
90c72b7986
1 changed files with 3 additions and 0 deletions
|
|
@ -100,6 +100,9 @@ class MCU_stepper:
|
|||
elif sou:
|
||||
# MCU has optimized step/unstep - better to use that
|
||||
want_both_edges = False
|
||||
if not ssbe:
|
||||
configfile = self._mcu.get_printer().lookup_object("configfile")
|
||||
configfile.deprecate_mcu_code(self._mcu, 'STEPPER_STEP_BOTH_EDGE')
|
||||
if want_both_edges:
|
||||
self._step_both_edge = True
|
||||
invert_step = -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue