From e6e0a21b064590abf2703abe39ef5d391ed161ac Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 18 Dec 2017 17:27:35 -0500 Subject: [PATCH] toolhead: Allow junction_deviation to be set to zero Allow lookahead to be effectively disabled by setting junction_deviation to zero. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 25220ab8..d1c40e16 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -192,7 +192,7 @@ class ToolHead: 'max_accel_to_decel', self.max_accel * 0.5 , above=0., maxval=self.max_accel) self.junction_deviation = config.getfloat( - 'junction_deviation', 0.02, above=0.) + 'junction_deviation', 0.02, minval=0.) self.move_queue = MoveQueue() self.commanded_pos = [0., 0., 0., 0.] # Print time tracking