USB CDC ACM: fix sending loop (and spacing)
This commit is contained in:
parent
2249f460e3
commit
0fe7e1fd39
|
@ -364,7 +364,6 @@ static void usb_cdcacm_data_tx_cb(usbd_device *usbd_dev, uint8_t ep)
|
|||
} else {
|
||||
usbd_ep_write_packet(usb_device, usb_cdcacm_data_endpoints[1].bEndpointAddress, NULL, 0); // trigger empty tx for a later callback
|
||||
}
|
||||
usbd_poll(usb_device); // ensure the data gets sent
|
||||
}
|
||||
|
||||
/** USB CDC ACM communication callback
|
||||
|
|
Loading…
Reference in New Issue