From 215dd3f0be095b05dcff7b718ff1ff42e8c1e026 Mon Sep 17 00:00:00 2001 From: sago35 Date: Thu, 3 Aug 2023 20:43:04 +0900 Subject: machine/usb/hid: rename Handler() to TxHandler() --- src/machine/usb/hid/mouse/mouse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/machine/usb/hid/mouse/mouse.go') diff --git a/src/machine/usb/hid/mouse/mouse.go b/src/machine/usb/hid/mouse/mouse.go index 024c1e9c3..d790bdbb8 100644 --- a/src/machine/usb/hid/mouse/mouse.go +++ b/src/machine/usb/hid/mouse/mouse.go @@ -47,7 +47,7 @@ func newMouse() *mouse { } } -func (m *mouse) Handler() bool { +func (m *mouse) TxHandler() bool { m.waitTxc = false if b, ok := m.buf.Get(); ok { m.waitTxc = true -- cgit v1.2.3