driver: Fix disconnection bug at high cmd rate
- Disconnection issue can be triggered by setting high polling rate (500Hz) and then interactive with gui elements
This commit is contained in:
parent
8f5a294a53
commit
a1b7538295
@ -879,7 +879,7 @@ class Kirdy:
|
||||
else:
|
||||
self._report_sig.emit(response)
|
||||
else:
|
||||
if self._msg_queue_get_report:
|
||||
if self._msg_queue_get_report and response["msg_type"] == 'Report':
|
||||
self._msg_queue_get_report = False
|
||||
self._int_msg_queue.put_nowait_overwrite(response)
|
||||
except asyncio.exceptions.CancelledError:
|
||||
|
Loading…
Reference in New Issue
Block a user