File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ uint32_t Thread::free_stack() {
274
274
275
275
#if defined(MBED_OS_BACKEND_RTX5)
276
276
if (_tid != NULL ) {
277
- os_thread_t *thread = (os_thread_t *)_tid;
277
+ mbed_rtos_storage_thread_t *thread = (mbed_rtos_storage_thread_t *)_tid;
278
278
size = (uint32_t )thread->sp - (uint32_t )thread->stack_mem ;
279
279
}
280
280
#endif
@@ -289,7 +289,7 @@ uint32_t Thread::used_stack() {
289
289
290
290
#if defined(MBED_OS_BACKEND_RTX5)
291
291
if (_tid != NULL ) {
292
- os_thread_t *thread = (os_thread_t *)_tid;
292
+ mbed_rtos_storage_thread_t *thread = (mbed_rtos_storage_thread_t *)_tid;
293
293
size = ((uint32_t )thread->stack_mem + thread->stack_size ) - thread->sp ;
294
294
}
295
295
#endif
@@ -304,7 +304,7 @@ uint32_t Thread::max_stack() {
304
304
305
305
if (_tid != NULL ) {
306
306
#if defined(MBED_OS_BACKEND_RTX5)
307
- os_thread_t *thread = (os_thread_t *)_tid;
307
+ mbed_rtos_storage_thread_t *thread = (mbed_rtos_storage_thread_t *)_tid;
308
308
uint32_t high_mark = 0 ;
309
309
while (((uint32_t *)(thread->stack_mem ))[high_mark] == 0xE25A2EA5 )
310
310
high_mark++;
You can’t perform that action at this time.
0 commit comments