summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-24 16:55:30 +0700
committerhathach <[email protected]>2018-07-24 16:55:30 +0700
commit255f8329049b41926989398ac58455e39fe93a25 (patch)
tree2bc1a980d42e6a371b94a09ca1fc75fb51318a13 /examples
parent3dc1d847b8847ba82561df9c7b4cb62fca7938cf (diff)
rename device mouse API
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 1f7f5b22e..286db9e39 100644
--- a/examples/device/nrf52840/src/main.c
+++ b/examples/device/nrf52840/src/main.c
@@ -142,7 +142,7 @@ void usb_hid_task(void)
if ( btn )
{
hid_mouse_report_t report = { .buttons = 0, .x = 10, .y = 0, .wheel = 0 };
- tud_hid_mouse_send_report(&report);
+ tud_hid_mouse_report(&report);
}
}