Skip to content

Commit df821aa

Browse files
committed
test: fix thread storage size
1 parent 82b490b commit df821aa

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbedmicro-rtos-mbed/heap_and_stack

1 file changed

+1
-1
lines changed

TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void test_heap_in_range(void)
182182
*/
183183
void test_main_stack_in_range(void)
184184
{
185-
os_thread_t *thread = (os_thread_t*) osThreadGetId();
185+
mbed_rtos_storage_thread_t *thread = (mbed_rtos_storage_thread_t *) osThreadGetId();
186186

187187
uint32_t psp = __get_PSP();
188188
uint8_t *stack_mem = (uint8_t*) thread->stack_mem;

0 commit comments

Comments
 (0)