move: fix for max_z velocity too low for the gtk adjustment
This commit is contained in:
parent
aa1dfabd40
commit
b25e17e9cd
@ -113,7 +113,7 @@ class Panel(ScreenPanel):
|
||||
logging.error(f"Error getting max_velocity\n{printer_cfg}")
|
||||
max_velocity = 50
|
||||
if "max_z_velocity" in printer_cfg:
|
||||
max_z_velocity = int(float(printer_cfg["max_z_velocity"]))
|
||||
max_z_velocity = max(int(float(printer_cfg["max_z_velocity"])), 10)
|
||||
else:
|
||||
max_z_velocity = max_velocity
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user