projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some warnings in lwip bertos implementation
[bertos.git]
/
bertos
/
net
/
lwip
/
src
/
arch
/
sys_arch.c
diff --git
a/bertos/net/lwip/src/arch/sys_arch.c
b/bertos/net/lwip/src/arch/sys_arch.c
index d626f0cfd09933c66d6d9c9e3462808fa95dfd5d..adbb8fbc6a0d0c5af373e906bf0aa6c360565b72 100644
(file)
--- a/
bertos/net/lwip/src/arch/sys_arch.c
+++ b/
bertos/net/lwip/src/arch/sys_arch.c
@@
-360,7
+360,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