Skip to content
Permalink
Browse files

tests: usb: do not set device address

Forced attempt to set the device address is unpredictable
and also should not be done during testing.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
  • Loading branch information...
jfischer-phytec-iot authored and ioannisg committed Jul 1, 2019
1 parent 6ce8920 commit ab8bcd20441ae2bb4d8c373696e0a286e0f7ec4a
Showing with 0 additions and 3 deletions.
  1. +0 −3 tests/subsys/usb/device/src/main.c
@@ -111,9 +111,6 @@ static void test_usb_dc_api(void)
/* Bulk EP is not configured yet */
zassert_equal(usb_dc_ep_mps(ENDP_BULK_IN), 0,
"usb_dc_ep_mps(ENDP_BULK_IN) not configured");

zassert_equal(usb_dc_set_address(0x01), TC_PASS,
"usb_dc_set_address(0x01)");
}

/* Test USB Device Cotnroller API for invalid parameters */

0 comments on commit ab8bcd2

Please sign in to comment.
You can’t perform that action at this time.