Skip to content

Commit 4646c05

Browse files
committed
Incorporated review comments
1 parent bcbb5e5 commit 4646c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TESTS/mbed_drivers/timeout/timeout_tests.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ void test_no_wait(void)
201201
Semaphore sem(0, 1);
202202
T timeout;
203203
timeout.attach_callback(mbed::callback(sem_callback, &sem), 0ULL);
204-
bool sem_sts = sem.try_acquire_for(0);
205-
TEST_ASSERT_EQUAL(true, sem_sts);
204+
bool sem_acquired = sem.try_acquire();
205+
TEST_ASSERT_EQUAL(true, sem_acquired);
206206
timeout.detach();
207207
}
208208
}

0 commit comments

Comments
 (0)