• Dean Camera's avatar
    Fix XPLAINBridge project discarding characters from the USB interface due to a... · ff09cf9c
    Dean Camera authored
    Fix XPLAINBridge project discarding characters from the USB interface due to a double read from the endpoint.
    
    Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full.
    
    Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread.
    
    Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value.
    
    Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received.
    
    Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
    ff09cf9c
LightweightRingBuff.h 6.65 KB