aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/avrsim.py
diff options
context:
space:
mode:
authorPaul McGowan <mental405@gmail.com>2020-09-09 23:10:35 -0400
committerGitHub <noreply@github.com>2020-09-09 23:10:35 -0400
commit5a2f406fd1e67c29744a194dedcecde20ba09107 (patch)
treecce353952622782a89c8067f047ec36bd2f8bd56 /scripts/avrsim.py
parentc7ea4b89c961b5f0db4c88eef3ae1fc8f3db074a (diff)
downloadkutter-5a2f406fd1e67c29744a194dedcecde20ba09107.tar.gz
kutter-5a2f406fd1e67c29744a194dedcecde20ba09107.tar.xz
kutter-5a2f406fd1e67c29744a194dedcecde20ba09107.zip
probe: add get_status wrapper to probe for last_query from query_probe command (#3296)
Add get_status wrapper with last_query status for macros It is sometimes useful to determine the state of the probe from a macro. If the probe is connected to an endstop pin, the results can be obtained via QUERY_ENDSTOPS but if a physical endstop is in use in addition to the probe the probe state cannot be obtained. This change allows one to use QUERY_PROBE and then access the printer.probe.last_query object to obtain the state. Signed-off-by: Paul McGowan <mental405@gmail.com>
Diffstat (limited to 'scripts/avrsim.py')
0 files changed, 0 insertions, 0 deletions