diff options
| author | hathach <[email protected]> | 2021-01-08 22:34:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-01-08 22:34:36 +0700 |
| commit | 6e6e6265e4feb797ddbd835dc1bee865d04219e6 (patch) | |
| tree | b2d1009368cfc9c2a0a0999b869fa22cf51eba95 /test | |
| parent | fb896be201602ce38105a934d3a59886b46d1268 (diff) | |
use dcd_event_bus_reset() with speed to replace bus_signal
Diffstat (limited to 'test')
| -rw-r--r-- | test/test/device/msc/test_msc_device.c | 2 | ||||
| -rw-r--r-- | test/test/support/tusb_config.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test/device/msc/test_msc_device.c b/test/test/device/msc/test_msc_device.c index a01ef153a..00bb86ccf 100644 --- a/test/test/device/msc/test_msc_device.c +++ b/test/test/device/msc/test_msc_device.c @@ -202,7 +202,7 @@ void setUp(void) tusb_init(); } - dcd_event_bus_signal(rhport, DCD_EVENT_BUS_RESET, false); + dcd_event_bus_reset(rhport, TUSB_SPEED_HIGH, false); tud_task(); } diff --git a/test/test/support/tusb_config.h b/test/test/support/tusb_config.h index 8cd99eaae..d80e144da 100644 --- a/test/test/support/tusb_config.h +++ b/test/test/support/tusb_config.h @@ -86,8 +86,8 @@ //------------- CDC -------------// // FIFO size of CDC TX and RX -#define CFG_TUD_CDC_RX_BUFSIZE 64 -#define CFG_TUD_CDC_TX_BUFSIZE 64 +#define CFG_TUD_CDC_RX_BUFSIZE 512 +#define CFG_TUD_CDC_TX_BUFSIZE 512 //------------- MSC -------------// @@ -97,7 +97,7 @@ //------------- HID -------------// // Should be sufficient to hold ID (if any) + Data -#define CFG_TUD_HID_EP_BUFSIZE 16 +#define CFG_TUD_HID_EP_BUFSIZE 64 #ifdef __cplusplus } |
