Skip to content
Commit a2ce9b01 authored by Tomasz Moń's avatar Tomasz Moń Committed by Carles Cufí
Browse files

usb: device_next: allow terminating descriptor set with NULL



Do not require nil descriptor at the end of descriptor set because it
serves no other purpose than a sentinel. Just end processing on first
NULL pointer within descriptor set.

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