docs: update zcalibrate pos and dpms
This commit is contained in:
parent
f707ba8cf3
commit
9f9e2ed6ad
@ -78,16 +78,17 @@ titlebar_items: chamber, MCU, Pi
|
||||
# The style of the user defined items in the titlebar
|
||||
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
|
||||
titlebar_name_type: None
|
||||
```
|
||||
|
||||
## Z probe calibrate Option
|
||||
If for any reason the XYZ home position is not suitable for calibrating the probe Z offset, you can enter the coordinates for the desired position here.
|
||||
```
|
||||
[z_calibrate_position]
|
||||
# The specified positions must be> 0 otherwise this option is ignored.
|
||||
# the center of the print bed is a good value
|
||||
# Z probe calibrate position
|
||||
# By default is the middle of the bed
|
||||
calibrate_x_position: 100
|
||||
calibrate_y_position: 100
|
||||
|
||||
# Screen DPMS
|
||||
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
|
||||
# However if you find that your screen doesn't turn off because it doesn't support it
|
||||
# Setting this to false will just turn the screen black.
|
||||
use_dpms: True
|
||||
```
|
||||
|
||||
## Preheat Options
|
||||
|
@ -148,6 +148,7 @@ class ZCalibratePanel(ScreenPanel):
|
||||
x_position = printer_cfg.getint("calibrate_x_position", 0)
|
||||
y_position = printer_cfg.getint("calibrate_y_position", 0)
|
||||
elif 'z_calibrate_position' in self._config.get_config():
|
||||
# OLD global way, this should be deprecated
|
||||
x_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_x_position", 0)
|
||||
y_position = self._config.get_config()['z_calibrate_position'].getint("calibrate_y_position", 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user