mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-22 20:59:03 +00:00
[fix][examples] improve some cases process
This commit is contained in:
parent
da549faf2d
commit
9fb0591d29
12 changed files with 215 additions and 21 deletions
|
@ -124,6 +124,8 @@ void usbd_cdc_acm_bulk_out(uint8_t ep)
|
|||
usbd_ep_read(ep, NULL, 0, NULL);
|
||||
|
||||
usbd_ep_write(CDC_IN_EP, out_buffer, actual_read_length, NULL);
|
||||
if (actual_read_length == 64)
|
||||
usbd_ep_write(CDC_IN_EP, NULL, 0, NULL);
|
||||
}
|
||||
|
||||
void usbd_cdc_acm_bulk_in(uint8_t ep)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue