Skip to content
Commit e37c7853 authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

kernel: fix timer initializer field order



Recent changes to struct _timeout changed the declaration order to
avoid alignment padding.  While this has no effect to C99 code C++
requires that designated initializes appear in declaration order.
Update the initializer macro so it can be used in C++ code.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 869ca055
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment