mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
mcu: Remove max_stepper_error config parameter
Use a regular code constant - MAX_STEPCOMPRESS_ERROR in stepper.py. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -603,9 +603,6 @@ class MCU:
|
||||
self._restart_cmds = []
|
||||
self._init_cmds = []
|
||||
self._mcu_freq = 0.
|
||||
# Move command queuing
|
||||
self._max_stepper_error = config.getfloat('max_stepper_error', 0.000025,
|
||||
minval=0.)
|
||||
self._reserved_move_slots = 0
|
||||
# Stats
|
||||
self._get_status_info = {}
|
||||
@@ -871,8 +868,6 @@ class MCU:
|
||||
return self.print_time_to_clock(t) + slot
|
||||
def seconds_to_clock(self, time):
|
||||
return int(time * self._mcu_freq)
|
||||
def get_max_stepper_error(self):
|
||||
return self._max_stepper_error
|
||||
def min_schedule_time(self):
|
||||
return MIN_SCHEDULE_TIME
|
||||
def max_nominal_duration(self):
|
||||
|
||||
Reference in New Issue
Block a user