Skip to content

tests-mbed_hal-sleep_manager: fix regression found on since PR #11721 #11956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TESTS/mbed_hal/sleep_manager/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void test_lock_eq_ushrt_max()
utest::v1::status_t testcase_setup(const Case *const source, const size_t index_of_case)
{
// Suspend the RTOS kernel scheduler to prevent interference with duration of sleep.
#if defined(MBED_RTOS_PRESENT)
#if defined(MBED_CONF_RTOS_PRESENT)
osKernelSuspend();
#endif
#if DEVICE_LPTICKER
Expand Down Expand Up @@ -117,7 +117,7 @@ utest::v1::status_t testcase_teardown(const Case *const source, const size_t pas
#endif
ticker_resume(get_lp_ticker_data());
#endif
#if defined(MBED_RTOS_PRESENT)
#if defined(MBED_CONF_RTOS_PRESENT)
osKernelResume(0);
#endif
return utest::v1::greentea_case_teardown_handler(source, passed, failed, failure);
Expand Down