From dad956b5c9ccf57ae4241336d4dd45ae24b629aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 19 Jun 2017 16:33:33 +0200 Subject: [PATCH] Treat Anet A8 firmware as Repetier firmware It appears to behave identically and probably is a renamed variant. That would also explain #1737 and some observations reported in #1946. --- src/octoprint/util/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/util/comm.py b/src/octoprint/util/comm.py index c1c30d3b..c4903880 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -1284,7 +1284,7 @@ class MachineCom(object): firmware_name = firmware_name.strip() self._logger.info("Printer reports firmware name \"{}\"".format(firmware_name)) - if "repetier" in firmware_name.lower(): + if "repetier" in firmware_name.lower() or "anet_a8" in firmware_name.lower(): self._logger.info("Detected Repetier firmware, enabling relevant features for issue free communication") self._alwaysSendChecksum = True