Converts commands uppercase
This commit is contained in:
parent
2904bd62d7
commit
f10e10f5b3
1 changed files with 1 additions and 0 deletions
|
|
@ -461,6 +461,7 @@ class MachineCom(object):
|
|||
self.close()
|
||||
|
||||
def _sendCommand(self, cmd):
|
||||
cmd = cmd.upper()
|
||||
if self._serial is None:
|
||||
return
|
||||
if 'M109' in cmd or 'M190' in cmd:
|
||||
|
|
|
|||
Loading…
Reference in a new issue