Skip to content
Commit a2c58615 authored by Johann Fischer's avatar Johann Fischer Committed by Benjamin Cabé
Browse files

drivers: udc_rpi_pico: fix set/clear endpoint halt



For the IN endpoint, we only need to set/reset the STALL bit in the
endpoint control register.
To set halt on the OUT endpoint, the AVAILABLE bit must also be set,
which is similar to starting a new transfer, but first any transfer in
progress must be canceled.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent e98e774b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment