Use G28 for homing (G1 was a copy-paste-error)

Fixes #314
This commit is contained in:
Gina Häußge 2013-11-24 13:12:02 +01:00
parent a1350c9344
commit 5b8126ae17

View file

@ -223,7 +223,7 @@ def controlPrinterPrinthead():
# execute the home command
# TODO make this a generic method call (printer.home(axis, ...)) to get rid of gcode here
printer.commands(["G91", "G1 %s" % " ".join(map(lambda x: "%s0" % x.upper(), validated_values)), "G90"])
printer.commands(["G91", "G28 %s" % " ".join(map(lambda x: "%s0" % x.upper(), validated_values)), "G90"])
return jsonify(SUCCESS)