probe: Add last_z_result to get the latest z result in an Macro (#3835)

Signed-off-by: Christian Schnellrieder <schnello.android@gmail.com>
This commit is contained in:
Christian S 2021-02-19 04:03:32 +01:00 committed by GitHub
parent b2cbb9aa96
commit bc2f6faa17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -214,6 +214,8 @@ The following are common printer attributes:
as "triggered" during the last QUERY_PROBE command. Note, due to the
order of template expansion (see above), the QUERY_PROBE command
must be run prior to the macro containing this reference.
- `printer.probe.last_z_result`: Returns the Z result value of the last
PROBE command.
- `printer.configfile.settings.<section>.<option>`: Returns the given
config file setting (or default value) during the last software
start or restart. (Any settings changed at run-time will not be