From df821aa4830ee0e90a0799a3e9fae3c72c2888ad Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Thu, 28 Jun 2018 15:12:24 +0100 Subject: [PATCH] test: fix thread storage size --- TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp b/TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp index 54f26c0ae4..af6511c25a 100644 --- a/TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp +++ b/TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp @@ -182,7 +182,7 @@ void test_heap_in_range(void) */ void test_main_stack_in_range(void) { - os_thread_t *thread = (os_thread_t*) osThreadGetId(); + mbed_rtos_storage_thread_t *thread = (mbed_rtos_storage_thread_t *) osThreadGetId(); uint32_t psp = __get_PSP(); uint8_t *stack_mem = (uint8_t*) thread->stack_mem;