summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/src/ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/src/ppc.c')
-rw-r--r--zephyr/test/drivers/src/ppc.c3
1 files changed, 1 insertions, 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),