Skip to content

Commit bf74f54

Browse files
ydamigosnashif
authored andcommitted
tests/subsys/usb/device: Fix comment and message
Fix comment and message. Signed-off-by: Yannis Damigos <[email protected]>
1 parent 7e85700 commit bf74f54

File tree

1 file changed

+2
-2
lines changed
  • tests/subsys/usb/device/src

1 file changed

+2
-2
lines changed

tests/subsys/usb/device/src/main.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ static void test_usb_dc_api_invalid(void)
182182
zassert_not_equal(usb_dc_ep_set_stall(INVALID_EP), TC_PASS,
183183
"usb_dc_ep_set_stall(INVALID_EP)");
184184

185-
/* Set stall to invalid EP */
185+
/* Clear stall to invalid EP */
186186
zassert_not_equal(usb_dc_ep_clear_stall(INVALID_EP), TC_PASS,
187-
"usb_dc_ep_set_stall(INVALID_EP)");
187+
"usb_dc_ep_clear_stall(INVALID_EP)");
188188

189189
/* Check if the selected endpoint is stalled */
190190
zassert_not_equal(usb_dc_ep_is_stalled(INVALID_EP, &byte), TC_PASS,

0 commit comments

Comments
 (0)