Skip to content

Commit f415af8

Browse files
author
Filip Jagodzinski
committed
Tests: SleepManager: Update test_check() test
Increase delta to 500 us. This value is still short enough to detect incorrect behavior of the sleep_manager_can_deep_sleep_test_check() fun, but allows the targets with low LP timer accuracy to pass, i.e. NUCLEO_F429ZI.
1 parent 17e2961 commit f415af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_hal/sleep_manager/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define SLEEP_DURATION_US 100000ULL
2929
#define SERIAL_FLUSH_TIME_MS 20
3030
#define DEEP_SLEEP_TEST_CHECK_WAIT_US 2000
31-
#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 200
31+
#define DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US 500
3232

3333
using utest::v1::Case;
3434
using utest::v1::Specification;

0 commit comments

Comments
 (0)