commit | e37c7853566020469300e3ccd1ce65c7a94a12d4 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Tue Jul 07 12:34:05 2020 -0500 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jul 07 19:27:32 2020 -0400 |
tree | ac06b4ee3ec379a30104e0abe3a3db4f20dcb16d | |
parent | 869ca055c528fc08cfba94a6edb83440feac5896 [diff] |
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: Peter Bigot <peter.bigot@nordicsemi.no>