Fixed compilation error caused by bad initialization of unamed union field.
The old syntax is not accepted by some compilers including XCC. Change-Id: Id90849a2159652ec225dd2c50d2dc2ddc22a3e08 Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
parent
03857ccb23
commit
967cb2ef8a
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ struct _static_thread_data {
|
|||
entry, p1, p2, p3, \
|
||||
prio, options, delay, abort, groups) \
|
||||
{ \
|
||||
.init_stack = (stack), \
|
||||
{.init_stack = (stack)}, \
|
||||
.init_stack_size = (stack_size), \
|
||||
.init_entry = (void (*)(void *, void *, void *))entry, \
|
||||
.init_p1 = (void *)p1, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue