diff options
| author | hathach <[email protected]> | 2013-11-16 22:16:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-16 22:16:03 +0700 |
| commit | b104d21e7112614e18f1e789fa2dd22ca09f9e4d (patch) | |
| tree | 09e79086f6c329e8f5f3ff45ed9485def6e8ac3b /tinyusb/class/hid.c | |
| parent | 672057de5a6feb854eb4f1a1e21766127be75728 (diff) | |
fix dcd_pipe_control_xfer for dcd43xx
refractor tusb_descriptors.h
Diffstat (limited to 'tinyusb/class/hid.c')
| -rw-r--r-- | tinyusb/class/hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid.c b/tinyusb/class/hid.c index 691751ac4..97feed998 100644 --- a/tinyusb/class/hid.c +++ b/tinyusb/class/hid.c @@ -224,7 +224,7 @@ tusb_error_t tusb_hid_init(USBD_HANDLE_T hUsb, USB_INTERFACE_DESCRIPTOR const *c tusb_error_t tusb_hid_configured(USBD_HANDLE_T hUsb) { #ifdef TUSB_CFG_DEVICE_HID_KEYBOARD - ROM_API->hw->WriteEP(hUsb , HID_KEYBOARD_EP_IN , (uint8_t* ) &hid_keyboard_report , sizeof(hid_keyboard_report_t) ); // initial packet for IN endpoint , will not work if omitted + ROM_API->hw->WriteEP(hUsb , HID_EDPT_KEYBOARD_ADDR , (uint8_t* ) &hid_keyboard_report , sizeof(hid_keyboard_report_t) ); // initial packet for IN endpoint , will not work if omitted #endif #ifdef TUSB_CFG_DEVICE_HID_MOUSE |
