From 7758ac973c4a3de3ea43867c6b9bfe5fbd06b927 Mon Sep 17 00:00:00 2001 From: Rogerio Goncalves Date: Sat, 3 Feb 2024 12:37:24 -0500 Subject: [PATCH] stepper: endstop_pin should be optional (#144) --- klippy/stepper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/stepper.py b/klippy/stepper.py index 0117d0e39..f352565a6 100644 --- a/klippy/stepper.py +++ b/klippy/stepper.py @@ -414,7 +414,7 @@ def __init__( self.position_endstop = config.getfloat( "position_endstop", default_position_endstop ) - endstop_pin = config.get("endstop_pin") + endstop_pin = config.get("endstop_pin", None) # check for ":virtual_endstop" to make sure we don't detect ":z_virtual_endstop" endstop_is_virtual = ( endstop_pin is not None and ":virtual_endstop" in endstop_pin