bugfix. don't send eeprom writing commands during printing
This commit is contained in:
parent
d714e907c5
commit
5554fc258e
3 changed files with 5 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ function DataUpdater(allViewModels) {
|
|||
text: msg
|
||||
});
|
||||
} else if (type === "RealTimeState") {
|
||||
|
||||
// console.log(payload);
|
||||
}
|
||||
|
||||
var legacyEventHandlers = {
|
||||
|
|
|
|||
|
|
@ -460,6 +460,9 @@ class MachineCom(object):
|
|||
cmd = process_gcode_line(cmd)
|
||||
if not cmd:
|
||||
return
|
||||
eepromCmd = re.search("^\$[0-9]+=.+$", cmd)
|
||||
if(eepromCmd and self.isPrinting()):
|
||||
self._log("Warning: Configuration changes during print are not allowed!")
|
||||
|
||||
if self.isPrinting() and not self.isSdFileSelected():
|
||||
self._commandQueue.put((cmd, cmd_type))
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{dirty: true, git: 694fb26, grbl: 0.9g, lastConnect: null, minor: ''}
|
||||
{dirty: false, git: 694fb26, grbl: 0.9g, lastConnect: null, minor: ''}
|
||||
|
|
|
|||
Loading…
Reference in a new issue