mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +00:00
machine/usb/hid: add RxHandler interface
This commit is contained in:
@@ -57,6 +57,10 @@ func (m *mouse) Handler() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *mouse) RxHandler(b []byte) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *mouse) tx(b []byte) {
|
||||
if machine.USBDev.InitEndpointComplete {
|
||||
if m.waitTxc {
|
||||
|
||||
Reference in New Issue
Block a user