Increase DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US

now that sleep_manager_can_deep_sleep_test_check() is based on wait_ns
pull/11023/head
Laurent Meunier 2019-06-19 11:00:33 +02:00 committed by Evelyne Donnaes
parent b20fb99e5d
commit 9aa859c68d
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@
#define SLEEP_DURATION_US 20000ULL
#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::Specification;