]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/net/lwip_tcpip/v2_0/src/ecos/sys_arch.c
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / lwip_tcpip / v2_0 / src / ecos / sys_arch.c
index 4873a977123d888b8553d690215c38e09f39d611..b078a37ef1ba568efb01a1d9662922c5e3401900 100644 (file)
@@ -255,7 +255,7 @@ sys_thread_t sys_thread_new(void (*function) (void *arg), void *arg,int prio)
                        (char *)arg , stack, CYGNUM_LWIP_THREAD_STACK_SIZE, &(nt->th), &(nt->t) );
 
        cyg_thread_resume(nt->th);
-       return NULL;
+       return nt->th;
 }
 
 /*