diff options
| author | hathach <[email protected]> | 2018-03-02 22:53:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-02 22:53:26 +0700 |
| commit | fe0e79864b3d3194408aa6efcc35ba403b5427be (patch) | |
| tree | 991b8d2dedffb3f19d1cf433e345099bc8dcfe9c /tinyusb/device/dcd.h | |
| parent | 9208570d3a40131713995856743aa233f01ebda1 (diff) | |
add config number
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 6bbfc8212..c4cce0dbf 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -76,7 +76,7 @@ void dcd_isr(uint8_t coreid); void hal_dcd_connect (uint8_t coreid);
void hal_dcd_disconnect (uint8_t coreid);
void hal_dcd_set_address(uint8_t coreid, uint8_t dev_addr);
-void hal_dcd_set_config (uint8_t coreid);
+void hal_dcd_set_config (uint8_t coreid, uint8_t config_num);
//------------- PIPE API -------------//
tusb_error_t dcd_pipe_control_xfer(uint8_t coreid, tusb_direction_t dir, uint8_t * p_buffer, uint16_t length, bool int_on_complete);
|
