tests: usb: add usb_set_config() call to desc_sections test

With the previous changes, usb_set_config() is no longer called by
default at boot time, causing the test to fail.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2024-04-19 15:05:05 +02:00 committed by Carles Cufí
commit 69e3e3a90d

View file

@ -203,6 +203,7 @@ ZTEST(desc_sections, test_desc_sections)
{
struct usb_desc_header *head;
usb_set_config(usb_get_device_descriptor());
TC_PRINT("__usb_descriptor_start %p\n", __usb_descriptor_start);
TC_PRINT("__usb_descriptor_end %p\n", __usb_descriptor_end);
TC_PRINT("USB Descriptor table span %d\n",