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 7ec84a8 commit 3373d78Copy full SHA for 3373d78
TESTS/mbed_hal/rtc/main.cpp
@@ -42,7 +42,7 @@ static const uint32_t TOLERANCE_ACCURACY_US = (DELAY_10S *US_PER_SEC / ACCURACY_
42
#if DEVICE_LPTICKER
43
volatile bool expired;
44
45
-void callback(void)
+void set_flag_true(void)
46
{
47
expired = true;
48
}
@@ -72,7 +72,7 @@ void rtc_sleep_test_support(bool deepsleep_mode)
72
73
rtc_write(start);
74
75
- timeout.attach(callback, DELAY_4S);
+ timeout.attach(set_flag_true, DELAY_4S);
76
77
TEST_ASSERT(sleep_manager_can_deep_sleep_test_check() == deepsleep_mode);
78
0 commit comments