MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / _gcode_M82

Method _gcode_M82

src/astroprint/printer/marlin/comm.py:1547–1549  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

1545 return cmd
1546
1547 def _gcode_M82(self, cmd): #Set to absolute extrusion mode
1548 self._materialCounter.changeExtrusionMode(MaterialCounter.EXTRUSION_MODE_ABSOLUTE)
1549 return cmd
1550
1551 def _gcode_M83(self, cmd): #Set to relative extrusion mode
1552 self._materialCounter.changeExtrusionMode(MaterialCounter.EXTRUSION_MODE_RELATIVE)

Callers

nothing calls this directly

Calls 1

changeExtrusionModeMethod · 0.80

Tested by

no test coverage detected