diff options
| author | hathach <[email protected]> | 2018-07-24 16:55:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-24 16:55:30 +0700 |
| commit | 255f8329049b41926989398ac58455e39fe93a25 (patch) | |
| tree | 2bc1a980d42e6a371b94a09ca1fc75fb51318a13 /src | |
| parent | 3dc1d847b8847ba82561df9c7b4cb62fca7938cf (diff) | |
rename device mouse API
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_device.c | 2 | ||||
| -rw-r--r-- | src/class/hid/hid_device.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index 4ea584429..a49479000 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -172,7 +172,7 @@ bool tud_hid_mouse_busy(void) return dcd_edpt_busy(TUD_OPT_RHPORT, _mse_itf.ep_in);
}
-bool tud_hid_mouse_send_report(hid_mouse_report_t const *p_report)
+bool tud_hid_mouse_report(hid_mouse_report_t const *p_report)
{
VERIFY( tud_mounted() && !tud_hid_mouse_busy() );
diff --git a/src/class/hid/hid_device.h b/src/class/hid/hid_device.h index e0309fe4f..842eb8fa7 100644 --- a/src/class/hid/hid_device.h +++ b/src/class/hid/hid_device.h @@ -130,7 +130,7 @@ bool tud_hid_mouse_busy(void); * \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_report(hid_mouse_report_t const *p_report);
+bool tud_hid_mouse_report(hid_mouse_report_t const *p_report);
/*------------- Callbacks -------------*/
|
