Skip to content

Commit

Permalink
tests/subsys/usb/device: Fix comment and message
Browse files Browse the repository at this point in the history
Fix comment and message.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
  • Loading branch information
ydamigos authored and nashif committed May 20, 2019
1 parent 7e85700 commit bf74f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/subsys/usb/device/src/main.c
Expand Up @@ -182,9 +182,9 @@ static void test_usb_dc_api_invalid(void)
zassert_not_equal(usb_dc_ep_set_stall(INVALID_EP), TC_PASS,
"usb_dc_ep_set_stall(INVALID_EP)");

/* Set stall to invalid EP */
/* Clear stall to invalid EP */
zassert_not_equal(usb_dc_ep_clear_stall(INVALID_EP), TC_PASS,
"usb_dc_ep_set_stall(INVALID_EP)");
"usb_dc_ep_clear_stall(INVALID_EP)");

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

0 comments on commit bf74f54

Please sign in to comment.