tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB output in ucom



On Sun, Jul 13, 2025 at 11:02:05AM +0000, Emmanuel Dreyfus wrote:

> Input received on the other end:
> "6"
> "E"


Your code allocates the xfer with flag USBD_SYNCHRONOUS
and sets up the xfer with flag USBD_NO_TIMEOUT.

usbd_setup_xfer() however rewrites the flags, so
it needs USBD_SYNCHRONOUS while usbd_create_xfer
probably doesn't.


Greetings,
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index