We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c6d63 commit db5d9f7Copy full SHA for db5d9f7
libraries/net/lwip/lwip-sys/arch/sys_arch.c
@@ -427,11 +427,7 @@ sys_thread_t sys_thread_new(const char *pcName,
427
t->def.tpriority = (osPriority)priority;
428
t->def.stacksize = stacksize;
429
#ifndef __MBED_CMSIS_RTOS_CA9
430
- #if defined (__ICCARM__)
431
t->def.stack_pointer = (uint32_t*)malloc(stacksize);
432
- #else
433
- t->def.stack_pointer = (unsigned char*)malloc(stacksize);
434
- #endif
435
if (t->def.stack_pointer == NULL) {
436
error("Error allocating the stack memory");
437
}
0 commit comments