From e61eaac8b730c7bc96a2db1f5610b90a2ece3614 Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Tue, 12 Oct 2021 16:57:47 -0600 Subject: zephyr test: Clean up comment Move comment to its proper location. BUG=none TEST=zmake configure --test zephyr/test/drivers BRANCH=none Signed-off-by: Abe Levkoy Change-Id: I1b2858121ee6aefc5babaea87efb55b50dd279aa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3219589 Reviewed-by: Jeremy Bettis --- zephyr/test/drivers/src/ppc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zephyr/test/drivers/src/ppc.c b/zephyr/test/drivers/src/ppc.c index 1b66c6dcd4..7f736c4938 100644 --- a/zephyr/test/drivers/src/ppc.c +++ b/zephyr/test/drivers/src/ppc.c @@ -45,10 +45,9 @@ static void test_ppc_syv682x_interrupt(void) struct i2c_emul *emul = syv682x_emul_get(SYV682X_ORD); uint8_t reg; + /* An OC event less than 100 ms should not cause VBUS to turn off. */ syv682x_emul_set_status(emul, SYV682X_STATUS_OC_5V); syv682x_interrupt(syv682x_port); - - /* An OC event less than 100 ms should not cause VBUS to turn off. */ msleep(50); syv682x_interrupt(syv682x_port); zassert_true(ppc_is_sourcing_vbus(syv682x_port), -- cgit v1.2.1