From 90c72b798644cebb772a21619792a6c9deb098ec Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 11 Feb 2026 10:12:44 -0500 Subject: [PATCH] stepper: Note mcu code deprecation if missing STEPPER_STEP_BOTH_EDGE Signed-off-by: Kevin O'Connor --- klippy/stepper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/klippy/stepper.py b/klippy/stepper.py index 8d93d6c16..200f637a5 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -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