Skip to content

Commit

Permalink
tests: usb: do not set device address
Browse files Browse the repository at this point in the history
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-no authored and ioannisg committed Jul 4, 2019
1 parent 6ce8920 commit ab8bcd2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/subsys/usb/device/src/main.c
Expand Up @@ -111,9 +111,6 @@ static void test_usb_dc_api(void)
/* Bulk EP is not configured yet */ /* Bulk EP is not configured yet */
zassert_equal(usb_dc_ep_mps(ENDP_BULK_IN), 0, zassert_equal(usb_dc_ep_mps(ENDP_BULK_IN), 0,
"usb_dc_ep_mps(ENDP_BULK_IN) not configured"); "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 */ /* Test USB Device Cotnroller API for invalid parameters */
Expand Down

0 comments on commit ab8bcd2

Please sign in to comment.