From 3400dfdf4ea478894b2a96ac0bd27868c052fbeb Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 24 Jul 2018 00:45:07 +0700 Subject: nrf52840 boot mouse does not work, need more work --- src/class/hid/hid_device.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/class/hid/hid_device.h') diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h index 21561041a..1293d212d 100644 --- a/src/class/hid/hid_device.h +++ b/src/class/hid/hid_device.h @@ -65,7 +65,7 @@ bool tud_hid_keyboard_busy(void); /** \brief Send a keyboard report * \param[in,out] p_report Report data, if NULL, an empty report (all zeroes) is used - * \returns true on success, false otherwise (not mounted or busy) + * \returns true on success, false otherwise (not mounted or busy) */ bool tud_hid_keyboard_send_report(hid_keyboard_report_t const *p_report); @@ -127,10 +127,10 @@ ATTR_WEAK void tud_hid_keyboard_set_report_cb(hid_report_type_t report_type, uin bool tud_hid_mouse_busy(void); /** \brief Perform transfer queuing - * \param[in,out] p_report address that is used to store data from device. Must be accessible by usb controller (see \ref CFG_TUSB_ATTR_USBRAM) - * \returns true on success, false otherwise (not mounted or busy) + * \param[in,out] p_report Report data, if NULL, an empty report (all zeroes) is used + * \returns true on success, false otherwise (not mounted or busy) */ -bool tud_hid_mouse_send(hid_mouse_report_t const *p_report); +bool tud_hid_mouse_send_report(hid_mouse_report_t const *p_report); /*------------- Callbacks -------------*/ -- cgit v1.3.1