diff options
| author | hathach <[email protected]> | 2013-06-11 16:13:50 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-06-11 16:13:50 +0700 |
| commit | d55f9ecef133e9650226c6313f4a2506060956ef (patch) | |
| tree | 46a83f433495dcb459d4c7ca28448edda13d0c6c /tinyusb/device/usbd.c | |
| parent | 72b5b61597c91d146b332149dd4408b511c5441d (diff) | |
get pass set address
Diffstat (limited to 'tinyusb/device/usbd.c')
| -rw-r--r-- | tinyusb/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c index 01deb8660..92c9204e7 100644 --- a/tinyusb/device/usbd.c +++ b/tinyusb/device/usbd.c @@ -109,13 +109,13 @@ void usbd_setup_received(uint8_t coreid) case TUSB_REQUEST_SET_ADDRESS: p_device->address = (uint8_t) p_device->setup_packet.wValue; dcd_device_set_address(coreid, p_device->address); + dcd_pipe_control_write_zero_length(coreid); break; default: return; } -// dcd_pipe_control_write_zero_length(coreid); } //--------------------------------------------------------------------+ |
