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 <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2016-12-30 17:22:05 -05:00
parent 6bd5f4e44e
commit c552ba06b4
4 changed files with 1 additions and 18 deletions

View file

@ -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)