Commit 1bcf40ee authored by Günter Windau's avatar Günter Windau

add flush function

parent bea4b094
......@@ -24,6 +24,12 @@ classdef lslder_kbd_client < lsldert_zmq_subscriber
key=ss{2};
value=str2double(ss{3});
end
function flush(this)
while ~isempty(this.getkey(1))
pause(0.01);
end
end
end
end
\ No newline at end of file
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment