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:
parent
3eec2a56d5
commit
69e3e3a90d
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue