mirror of https://github.com/ARMmbed/mbed-os.git
Fix lp_ticker and ticker unit test case wait times
parent
80cdc3e625
commit
d6429ef45f
|
@ -143,7 +143,7 @@ void test_detach(void)
|
|||
LowPowerTicker ticker;
|
||||
bool ret;
|
||||
const s_timestamp_t ticker_time_s = 1;
|
||||
const uint32_t wait_time_ms = 500;
|
||||
const uint32_t wait_time_ms = 5000;
|
||||
Semaphore sem(0, 1);
|
||||
|
||||
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);
|
||||
|
|
|
@ -265,7 +265,7 @@ void test_detach(void)
|
|||
Ticker ticker;
|
||||
bool ret;
|
||||
const s_timestamp_t ticker_time_s = 1;
|
||||
const uint32_t wait_time_ms = 500;
|
||||
const uint32_t wait_time_ms = 5000;
|
||||
Semaphore sem(0, 1);
|
||||
|
||||
ticker.attach_s(callback(sem_release, &sem), ticker_time_s);
|
||||
|
|
Loading…
Reference in New Issue