mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 21:14:05 -06:00
safe_z_home: correct error call
Signed-off-by: Paul Arthur <paul.arthur@flowerysong.com>
This commit is contained in:
parent
116b304541
commit
ef4c76fe94
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class SafeZHoming:
|
|||
self.z_hop_speed = config.getfloat('z_hop_speed', 15., above=0.)
|
||||
zconfig = manual_probe.lookup_z_endstop_config(config)
|
||||
if zconfig is None:
|
||||
raise gcmd.error('Missing Z endstop config for safe_z_homing')
|
||||
raise config.error('Missing Z endstop config for safe_z_homing')
|
||||
self.max_z = zconfig.getfloat('position_max', note_valid=False)
|
||||
self.speed = config.getfloat('speed', 50.0, above=0.)
|
||||
self.move_to_previous = config.getboolean('move_to_previous', False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue