enable ep rx for next

This commit is contained in:
sakumisu
2021-11-28 15:53:28 +08:00
parent afde5918d1
commit 47acf149db
2 changed files with 2 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ void usbd_cdc_acm_out(uint8_t ep)
usbd_ep_read(ep,data,64,&read_byte);
printf("out\r\n");
printf("read len:%d\r\n",read_byte);
usbd_ep_read(ep,NULL,0,NULL);
}
void usbd_cdc_acm_in(uint8_t ep)

View File

@@ -166,6 +166,7 @@ void usbd_cdc_acm_out(uint8_t ep)
usbd_ep_read(ep,data,64,&read_byte);
printf("out\r\n");
printf("read len:%d\r\n",read_byte);
usbd_ep_read(ep,NULL,0,NULL);
}
void usbd_cdc_acm_in(uint8_t ep)