summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-24 20:41:06 +0700
committerhathach <[email protected]>2018-07-24 20:41:06 +0700
commitb370283174fbdb066bc662f8885956dbf947559b (patch)
treeb586774d3dccec53ec402242da369611570b7f1f /examples
parent17369cfda0f077c29eea1f7ab486d60167511f36 (diff)
rename tud_hid_mouse_busy to tud_hid_mouse_ready
Diffstat (limited to 'examples')
-rw-r--r--examples/device/nrf52840/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/nrf52840/src/main.c b/examples/device/nrf52840/src/main.c
index b8f1674a7..000adb9dc 100644
--- a/examples/device/nrf52840/src/main.c
+++ b/examples/device/nrf52840/src/main.c
@@ -132,7 +132,7 @@ void usb_hid_task(void)
/*------------- Mouse -------------*/
- // if ( !tud_hid_mouse_busy() )
+ // if ( tud_hid_mouse_ready() )
// {
// // Poll every 10ms
// static tu_timeout_t tm = { .start = 0, .interval = 10 };