mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-02-09 01:31:19 -07:00
Merge 83b7bad525 into 87ea2ff1ce
This commit is contained in:
commit
bc8bcd9f2e
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ class GCodeDispatch:
|
|||
cpos = line.find(';')
|
||||
if cpos >= 0:
|
||||
line = line[:cpos]
|
||||
# log current line
|
||||
if len(line) > 0:
|
||||
logging.info(line)
|
||||
# Break line into parts and determine command
|
||||
parts = self.args_r.split(line.upper())
|
||||
if ''.join(parts[:2]) == 'N':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue