diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-24 14:52:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-24 14:53:41 -0400 |
commit | ed3e6b42c74a1f00bd3bf3d636d9abf47bb73598 (patch) | |
tree | 7c68ed49413df347fe0eef6d5a210a6034810767 /klippy/extras/gcode_button.py | |
parent | 9730be8e17b4b21e34f8ed2733c53e8b5924bebb (diff) | |
download | kutter-ed3e6b42c74a1f00bd3bf3d636d9abf47bb73598.tar.gz kutter-ed3e6b42c74a1f00bd3bf3d636d9abf47bb73598.tar.xz kutter-ed3e6b42c74a1f00bd3bf3d636d9abf47bb73598.zip |
gcode: Raise a gcode.error() from G20 command
It's important to raise an error (instead of calling respond_error() )
so that a G20 will stop a virtual_sdcard print.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/gcode_button.py')
0 files changed, 0 insertions, 0 deletions