aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/usb/hid/mouse/mouse.go
diff options
context:
space:
mode:
authorsago35 <[email protected]>2023-08-03 20:43:04 +0900
committerRon Evans <[email protected]>2023-08-04 09:43:53 +0200
commit215dd3f0be095b05dcff7b718ff1ff42e8c1e026 (patch)
treed72cc258836cf1498647ebf7bf5979179374efb5 /src/machine/usb/hid/mouse/mouse.go
parentc51f5cea0bd4a8c3d7b80544dc6577ddacf947b6 (diff)
downloadtinygo-215dd3f0be095b05dcff7b718ff1ff42e8c1e026.tar.gz
tinygo-215dd3f0be095b05dcff7b718ff1ff42e8c1e026.zip
machine/usb/hid: rename Handler() to TxHandler()
Diffstat (limited to 'src/machine/usb/hid/mouse/mouse.go')
-rw-r--r--src/machine/usb/hid/mouse/mouse.go2
1 files changed, 1 insertions, 1 deletions
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