mirror of https://github.com/ARMmbed/mbed-os.git
test: fix thread storage size
parent
82b490b0cf
commit
df821aa483
|
@ -182,7 +182,7 @@ void test_heap_in_range(void)
|
||||||
*/
|
*/
|
||||||
void test_main_stack_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();
|
uint32_t psp = __get_PSP();
|
||||||
uint8_t *stack_mem = (uint8_t*) thread->stack_mem;
|
uint8_t *stack_mem = (uint8_t*) thread->stack_mem;
|
||||||
|
|
Loading…
Reference in New Issue