fine_tune: Allow z babystep intervals to be configured

This commit is contained in:
Jordan Ruthe
2021-02-22 11:10:19 -05:00
parent a57ab7f9d5
commit 3f2ed97385
5 changed files with 25 additions and 0 deletions

View File

@@ -188,6 +188,14 @@ class KlipperScreenConfig:
return preheat_options
def get_printer_config(self, name):
if not name.startswith("printer "):
name = "printer %s" % name
if name not in self.config:
return None
return self.config[name]
def get_printer_power_name(self):
return self.config['settings'].get("printer_power_name", "printer")