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:
Kevin O'Connor committed 2026-02-23 21:27:22 -05:00
1 parent 6bbc90697a
commit 90c72b7986
1 file changed
+3
+3
View File
@@ -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