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
Call CommunicationPort primitives directly in PwrUSBDevice
Problem: The do* methods went through private _sendCommandByte and _queryCommand
wrappers, which added nothing over the CommunicationPort API and hid the actual
port calls.
Solution: Drop both helpers. Each write now calls self.port.writeData(...)
directly, and each query inlines flush()/writeData()/readData() (the flush stays
because a report can exceed the requested length, leaving a buffered remainder).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments