NIL OSAL multiply typedefs eventflags_t Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
awygle
Posts: 32
Joined: Sun Apr 03, 2016 8:39 pm
Has thanked: 6 times
Been thanked: 4 times

NIL OSAL multiply typedefs eventflags_t

Post by awygle »

The NIL OSAL (osal.h) contains a typedef for the eventflags_t type, which has been moved into chtypes.h. This still works on the STM32 chips because the NIL typedef is for a uint32_t and that's what eventflags_t is for STM32, but it may not be for other ports and it's fragile if that type changes in the future.

The same code is in the RT OSAL but it's #if 0'd out.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: NIL OSAL multiply typedefs eventflags_t

Post by Giovanni »

Hi,

Fixed in trunk.

Giovanni
Post Reply