mirror of https://github.com/ARMmbed/mbed-os.git
Increase DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US
now that sleep_manager_can_deep_sleep_test_check() is based on wait_nspull/11023/head
parent
b20fb99e5d
commit
9aa859c68d
|
@ -28,7 +28,9 @@
|
||||||
|
|
||||||
#define SLEEP_DURATION_US 20000ULL
|
#define SLEEP_DURATION_US 20000ULL
|
||||||
#define DEEP_SLEEP_TEST_CHECK_WAIT_US 2000
|
#define DEEP_SLEEP_TEST_CHECK_WAIT_US 2000
|
||||||
#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 600
|
// As sleep_manager_can_deep_sleep_test_check() is based on wait_ns
|
||||||
|
// and wait_ns can be up to 40% slower, use a 50% delta here.
|
||||||
|
#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 1000
|
||||||
|
|
||||||
using utest::v1::Case;
|
using utest::v1::Case;
|
||||||
using utest::v1::Specification;
|
using utest::v1::Specification;
|
||||||
|
|
Loading…
Reference in New Issue