You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor hub.py: extract _store_frame helper and add sleep in _reader_loop
- Extract duplicate frame storage logic into _store_frame() helper
used by both read_frame() and _reader_loop(). Reduces code
duplication and centralizes lock handling.
- Add 1ms sleep in _reader_loop when no data available, matching
behavior in read_frame() to prevent busy spin if serial_timeout=0.
0 commit comments