diff options
author | Amir Hammad <amir.hammad@hotmail.com> | 2016-07-30 12:24:20 +0200 |
---|---|---|
committer | Amir Hammad <amir.hammad@hotmail.com> | 2016-07-30 12:24:20 +0200 |
commit | 3e95b389c37046759cbe9df2e671240ec5666ad8 (patch) | |
tree | bca91eed95fab4b392426f6b8fa2efd8a0758a29 /src/usbh_driver_hid_mouse.c | |
parent | 0c1bd8ff76fbe191b7eb136d371ef30fc83c8eb0 (diff) | |
download | secure-hid-3e95b389c37046759cbe9df2e671240ec5666ad8.tar.gz secure-hid-3e95b389c37046759cbe9df2e671240ec5666ad8.tar.bz2 secure-hid-3e95b389c37046759cbe9df2e671240ec5666ad8.zip |
add option to pass data to control writes
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'src/usbh_driver_hid_mouse.c')
-rw-r--r-- | src/usbh_driver_hid_mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbh_driver_hid_mouse.c b/src/usbh_driver_hid_mouse.c index 62ba481..94f232d 100644 --- a/src/usbh_driver_hid_mouse.c +++ b/src/usbh_driver_hid_mouse.c @@ -261,7 +261,7 @@ static void poll(void *drvdata, uint32_t time_curr_us) mouse->state_next = STATE_SET_CONFIGURATION_EMPTY_READ; - device_xfer_control_write(&setup_data, sizeof(setup_data), event, dev); + device_xfer_control_write_setup(&setup_data, sizeof(setup_data), event, dev); } break; |