Less logging

This commit is contained in:
peteruithoven 2014-01-18 17:45:23 +01:00
parent 7f5079d2cb
commit 4185865289
1 changed files with 2 additions and 2 deletions

View File

@ -191,9 +191,9 @@ function Printer() {
} else {
// only if the state hasn't bin changed (by for example pressing stop) we send more gcode
console.log("Printer:sendPrintPart:gcode part received (state: ",self.state,")");
//console.log("Printer:sendPrintPart:gcode part received (state: ",self.state,")");
if(self.state == Printer.PRINTING_STATE || self.state == Printer.BUFFERING_STATE) {
console.log("Printer:sendPrintPart:sending next part");
//console.log("Printer:sendPrintPart:sending next part");
self.sendPrintPart(sendIndex + sendLength, sendLength);
}
}