diff options
| author | hathach <[email protected]> | 2021-08-23 11:00:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-23 11:00:21 +0700 |
| commit | 800f85329ea21bdefc778c246c8098dea12fb402 (patch) | |
| tree | e5ea27b16de88a577a45c03521d579100e41acd0 /src/tusb.c | |
| parent | 58477b71f2989bc24480cb6e90dfd61506ec0ccd (diff) | |
add tuh_hid_receive_report() for applicaiton to explicitly request report
Diffstat (limited to 'src/tusb.c')
| -rw-r--r-- | src/tusb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tusb.c b/src/tusb.c index 1fc775399..6494287d2 100644 --- a/src/tusb.c +++ b/src/tusb.c @@ -117,10 +117,11 @@ void tu_edpt_bind_driver(uint8_t ep2drv[][2], tusb_desc_interface_t const* desc_ { uint8_t const ep_addr = ((tusb_desc_endpoint_t const*) p_desc)->bEndpointAddress; + TU_LOG(2, " Bind EP %02x to driver id %u\r\n", ep_addr, driver_id); ep2drv[tu_edpt_number(ep_addr)][tu_edpt_dir(ep_addr)] = driver_id; } - len = (uint16_t)(len + tu_desc_len(p_desc)); + len = (uint16_t)(len + tu_desc_len(p_desc)); p_desc = tu_desc_next(p_desc); } } |
