Brought up to date with sdcard branch
parent
d571aa588a
commit
16befc84d2
|
@ -67,8 +67,7 @@ gcodeToEvent = {
|
|||
"G28": "Home", # home print head
|
||||
"M112": "EStop",
|
||||
"M80": "PowerOn",
|
||||
"M81": "PowerOff",
|
||||
"M25": "Paused" # SD Card pause
|
||||
"M81": "PowerOff"
|
||||
}
|
||||
|
||||
class VirtualPrinter():
|
||||
|
@ -504,7 +503,6 @@ class MachineCom(object):
|
|||
else:
|
||||
printTimeTotal = printTime * self._sdFileSize
|
||||
printTimeLeft = printTimeTotal - printTime
|
||||
self._logger.info("printTime: %f, sdFileSize: %f, sdFilePos: %f, printTimeTotal: %f, printTimeLeft: %f" % (printTime, self._sdFileSize, self._sdFilePos, printTimeTotal, printTimeLeft))
|
||||
return printTimeLeft
|
||||
else:
|
||||
# for host printing we only start counting the print time at gcode line 100, so we need to calculate stuff
|
||||
|
|
Loading…
Reference in New Issue