aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r--klippy/mcu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index 5b12e83f..50a0eab4 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -392,7 +392,8 @@ class MCU:
self._custom = config.get('custom', '')
# Move command queuing
ffi_main, self._ffi_lib = chelper.get_ffi()
- self._max_stepper_error = config.getfloat('max_stepper_error', 0.000025)
+ self._max_stepper_error = config.getfloat(
+ 'max_stepper_error', 0.000025, minval=0.)
self._steppers = []
self._steppersync = None
# Print time to clock epoch calculations