diff options
| author | hathach <[email protected]> | 2013-03-05 23:08:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-05 23:08:00 +0700 |
| commit | b3775b631bf60c15c1d4917cba6a35e1f421bebd (patch) | |
| tree | 29ff0625bbc3b201ec1297ac474f7a2dee07f2c0 /tinyusb/class | |
| parent | c0bbc2aded3fd469efb2d55115cd6f398ec08db1 (diff) | |
add test & code for open bulk transfer to hcd_pipe_open()
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/hid_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c index fb4f4d230..2f3107a35 100644 --- a/tinyusb/class/hid_host.c +++ b/tinyusb/class/hid_host.c @@ -71,7 +71,7 @@ tusb_error_t tusbh_hid_keyboard_get(tusb_handle_device_t const device_hdl, uint8 p_kbd = &keyboard_info_pool[device_hdl].instance[instance_num]; - ASSERT(0 != p_kbd->pipe_in, TUSB_ERROR_CLASS_DEVICE_DONT_SUPPORT); + ASSERT(0 != p_kbd->pipe_in.dev_addr, TUSB_ERROR_CLASS_DEVICE_DONT_SUPPORT); ASSERT_INT(PIPE_STATUS_COMPLETE, usbh_pipe_status_get(p_kbd->pipe_in), TUSB_ERROR_CLASS_DATA_NOT_AVAILABLE); |
