From d21b9280f029f1c65d3dac9310eb00090dd8c531 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 12 Mar 2017 22:43:05 -0400 Subject: klippy: Eliminate high-level build_config phase Now that the mcu objects can be created prior to connecting to the mcu, it is no longer necessary to separate the init and build_config phases in the high-level code. Move the mcu objection creation from the build_config phase to the init phase and eliminate the build_config phase. Signed-off-by: Kevin O'Connor --- klippy/cartesian.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'klippy/cartesian.py') diff --git a/klippy/cartesian.py b/klippy/cartesian.py index 636e9284..2dc0df3d 100644 --- a/klippy/cartesian.py +++ b/klippy/cartesian.py @@ -21,9 +21,6 @@ class CartKinematics: self.steppers[0].set_max_jerk(max_xy_halt_velocity, max_accel) self.steppers[1].set_max_jerk(max_xy_halt_velocity, max_accel) self.steppers[2].set_max_jerk(0., self.max_z_accel) - def build_config(self): - for stepper in self.steppers: - stepper.build_config() def set_position(self, newpos): for i in StepList: s = self.steppers[i] -- cgit v1.2.3-70-g09d2