• Damien George's avatar
    stmhal: Fix issues with USB CDC init and receive. · f357a192
    Damien George authored
    Late USB enumeration could clear settings after they had been set.
    Now fixed by not clearing some settings on init.
    RX was blocking if received characters were not being processed, so
    CTRL-C would not be picked up.  Now "fixed" by not blocking, but
    instead discarding incoming characters if they overflow the buffer.
usbd_cdc_interface.c 12.5 KB