Skip to content
Commit 4a8a24fe authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

Revert "cdc_acm : Restrict writing more than 4 bytes into TX USB Endpoint."



This reverts commit 1da0a9ee.

The workaround caused a severe performance penalty, and only worked
for USB packets of 4-15 bytes in length (16+ byte packets weren't
subject to the hardware bug).  Single-byte packets (very common for
cdc_acm serial port transfers) would still be duplicated sometimes.

The upcoming DMA implementation does not share the performance
penalty, and also is not subject to the bug for those sizes of packets
(though it DOES still have a problem with single-byte packets!).

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent e6874a0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment