Converts commands uppercase
parent
2904bd62d7
commit
f10e10f5b3
|
@ -461,6 +461,7 @@ class MachineCom(object):
|
||||||
self.close()
|
self.close()
|
||||||
|
|
||||||
def _sendCommand(self, cmd):
|
def _sendCommand(self, cmd):
|
||||||
|
cmd = cmd.upper()
|
||||||
if self._serial is None:
|
if self._serial is None:
|
||||||
return
|
return
|
||||||
if 'M109' in cmd or 'M190' in cmd:
|
if 'M109' in cmd or 'M190' in cmd:
|
||||||
|
|
Loading…
Reference in New Issue