lwip operating system abstraction layer implementation based on CMSIS-RTOS
Dependents: LwIPNetworking NetServicesMin EthernetInterface EthernetInterface_RSF ... more
Diff: arch/sys_arch.c
- Revision:
- 15:7d4b24b58e04
- Parent:
- 14:ba056f7b4b37
- Child:
- 16:413514db649c
diff -r ba056f7b4b37 -r 7d4b24b58e04 arch/sys_arch.c --- a/arch/sys_arch.c Thu Nov 06 11:00:51 2014 +0000 +++ b/arch/sys_arch.c Thu Mar 12 14:31:45 2015 +0000 @@ -427,7 +427,7 @@ t->def.tpriority = (osPriority)priority; t->def.stacksize = stacksize; #ifndef __MBED_CMSIS_RTOS_CA9 - t->def.stack_pointer = (unsigned char*)malloc(stacksize); + t->def.stack_pointer = (uint32_t*)malloc(stacksize); if (t->def.stack_pointer == NULL) { error("Error allocating the stack memory"); }