Revert "Fix lwip implementation of retransmission timers."
[bertos.git] / bertos / net / lwip / src / arch / sys_arch.c
index 4ef9d08ce195f787cd98b9fa929636558790fe21..0d1ade5ce6a5dd77114d7f03704f40dfd25d0985 100644 (file)
@@ -369,7 +369,7 @@ sys_thread_t sys_thread_new(const char *name, void (* thread)(void *arg),
 
        #if !CONFIG_KERN_HEAP
                ASSERT(stacksize <= DEFAULT_THREAD_STACKSIZE);
-               PROC_ATOMIC(stackbase = &thread_stack[last_stack++]);
+               PROC_ATOMIC(stackbase = thread_stack[last_stack++]);
        #else
                stackbase = NULL;
        #endif