Skip to content
Commit 34299f60 authored by Tomasz Moń's avatar Tomasz Moń Committed by Benjamin Cabé
Browse files

drivers: udc_nrf: Remove duplicate endpoint state



Use UDC endpoint state instead of the legacy hal state. Only functional
change relates to overload condition (buffer is too small to hold data
received on OUT endpoint). Previously the data would be completely
discarded and udc driver error would occur (overload event was
unhandled). Now buffer too small error is logged and as much data as
possible is copied to buffer.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent a10d00ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment