From c552ba06b4886d400e235267b23f86f44260bb92 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 30 Dec 2016 17:22:05 -0500 Subject: serialqueue: Remove serialqueue_flush_ready() The serialqueue_flush_ready() code was used to flush queue_step commands during a homing operation. It's no longer necessary now that moves during a homing operation use the normal message priority system. Signed-off-by: Kevin O'Connor --- klippy/serialhdl.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'klippy/serialhdl.py') diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py index f09c4cd1..143fd138 100644 --- a/klippy/serialhdl.py +++ b/klippy/serialhdl.py @@ -167,8 +167,6 @@ class SerialReader: def send_with_response(self, cmd, name): src = SerialRetryCommand(self, cmd, name) return src.get_response() - def send_flush(self): - self.ffi_lib.serialqueue_flush_ready(self.serialqueue) def alloc_command_queue(self): return self.ffi_main.gc(self.ffi_lib.serialqueue_alloc_commandqueue(), self.ffi_lib.serialqueue_free_commandqueue) -- cgit v1.2.3-70-g09d2