We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4cb3de commit d6c3d79Copy full SHA for d6c3d79
TESTS/mbed_hal/sleep_manager/main.cpp
@@ -28,7 +28,9 @@
28
29
#define SLEEP_DURATION_US 20000ULL
30
#define DEEP_SLEEP_TEST_CHECK_WAIT_US 2000
31
-#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 600
+// As sleep_manager_can_deep_sleep_test_check() is based on wait_ns
32
+// and wait_ns can be up to 40% slower, use a 50% delta here.
33
+#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 1000
34
35
using utest::v1::Case;
36
using utest::v1::Specification;
0 commit comments