From 074140bcd0b9b0e16037dc3db8aedcc445ea71d4 Mon Sep 17 00:00:00 2001 From: make-ing Date: Tue, 21 Jun 2016 09:49:04 +0200 Subject: [PATCH] removed "?" from position commands to avoid aditional "ok" response and mazbe problems with advanced character counting. --- src/octoprint/printer/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index a10580dd..1e826c01 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -331,7 +331,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): def position(self, x, y): printer_profile = self._printerProfileManager.get_current_or_default() movement_speed = min(printer_profile["axes"]["x"]["speed"], printer_profile["axes"]["y"]["speed"]) - self.commands(["G90", "G0 X%.3f Y%.3f F%d" % (x, y, movement_speed), "?"]) + self.commands(["G90", "G0 X%.3f Y%.3f F%d" % (x, y, movement_speed)]) def _convert_rate_value(self, factor, min=0, max=200): if not isinstance(factor, (int, float, long)):