SetEvent call when no events (Windows)
Project has been move to https://github.com/ciaa/Firmware
Status: Inactive
Brought to you by:
cerdeiro
In the Os_Internal_Arch.c file for the windows implementation there is a call to SetEvent in the function that handles the Alarms (CounterInterrupt). The SetEvent function is only available when there actually are events declared in the OIL file. For the Com example there are no events, so when compiling that application I get a linker error that SetEvent can not be found.
The solution to this would be to place that SetEvent call within "#if (NO_EVENTS == DISABLE)".
Placed the SetEvent call within "#if (NO_EVENTS == DISABLE)". Com example now compiles fine on Windows