From 6e01a361c5666c69bc33e58998aba5ce2abd15a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 11 Mar 2016 16:35:15 +0100 Subject: [PATCH] Make "Fake Acknowledge" button really fake an ok So far it only set the clear_to_send flag, now it actually does everything else a read ok would do. --- 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 c5604e70..fa839e1a 100644 --- a/src/octoprint/util/comm.py +++ b/src/octoprint/util/comm.py @@ -523,7 +523,7 @@ class MachineCom(object): self._tempOffsets.update(offsets) def fakeOk(self): - self._clear_to_send.set() + self._handle_ok() def sendCommand(self, cmd, cmd_type=None, processed=False, force=False): cmd = to_unicode(cmd, errors="replace")