diff --git a/hal/tests/TESTS/mbed_hal/sleep/main.cpp b/hal/tests/TESTS/mbed_hal/sleep/main.cpp index 6e745f3..84eb262 100644 --- a/hal/tests/TESTS/mbed_hal/sleep/main.cpp +++ b/hal/tests/TESTS/mbed_hal/sleep/main.cpp @@ -228,9 +228,9 @@ ticker_suspend(get_us_ticker_data()); #ifdef DEVICE_SEMIHOST - // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and - // cause said call to take several milliseconds, leading to a test failure. - mbed_interface_disconnect(); + // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and + // cause said call to take several milliseconds, leading to a test failure. + mbed_interface_disconnect(); #endif us_ticker_init(); diff --git a/rtos/tests/TESTS/mbed_rtos/MemoryPool/main.cpp b/rtos/tests/TESTS/mbed_rtos/MemoryPool/main.cpp index aef54dc..d7cc09f 100644 --- a/rtos/tests/TESTS/mbed_rtos/MemoryPool/main.cpp +++ b/rtos/tests/TESTS/mbed_rtos/MemoryPool/main.cpp @@ -677,9 +677,9 @@ GREENTEA_SETUP(20, "default_auto"); #ifdef DEVICE_SEMIHOST - // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and - // cause said call to take several milliseconds, leading to a test failure. - mbed_interface_disconnect(); + // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and + // cause said call to take several milliseconds, leading to a test failure. + mbed_interface_disconnect(); #endif return greentea_test_setup_handler(number_of_cases); diff --git a/rtos/tests/TESTS/mbed_rtos/mail/main.cpp b/rtos/tests/TESTS/mbed_rtos/mail/main.cpp index d7ba68f..32a1583 100644 --- a/rtos/tests/TESTS/mbed_rtos/mail/main.cpp +++ b/rtos/tests/TESTS/mbed_rtos/mail/main.cpp @@ -480,9 +480,9 @@ GREENTEA_SETUP(10, "default_auto"); #ifdef DEVICE_SEMIHOST - // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and - // cause said call to take several milliseconds, leading to a test failure. - mbed_interface_disconnect(); + // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and + // cause said call to take several milliseconds, leading to a test failure. + mbed_interface_disconnect(); #endif return verbose_test_setup_handler(number_of_cases); diff --git a/rtos/tests/TESTS/mbed_rtos/queue/main.cpp b/rtos/tests/TESTS/mbed_rtos/queue/main.cpp index 6be21e1..1ece583 100644 --- a/rtos/tests/TESTS/mbed_rtos/queue/main.cpp +++ b/rtos/tests/TESTS/mbed_rtos/queue/main.cpp @@ -320,9 +320,9 @@ GREENTEA_SETUP(5, "default_auto"); #ifdef DEVICE_SEMIHOST - // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and - // cause said call to take several milliseconds, leading to a test failure. - mbed_interface_disconnect(); + // Disconnect semihosting now, because otherwise it will get disconnected on the first sleep call and + // cause said call to take several milliseconds, leading to a test failure. + mbed_interface_disconnect(); #endif return verbose_test_setup_handler(number_of_cases);