validation: Replace enum Event with defines

There is a Doxygen limitation that all compound names (enum, struct,
class, union, group) within a project must be unique.

Update #3716.
This commit is contained in:
Sebastian Huber
2023-03-17 15:52:33 +01:00
parent 3353d3f3ad
commit 74a6b33f3b
9 changed files with 90 additions and 68 deletions

View File

@@ -280,13 +280,13 @@ static const char * const * const RtemsRatemonReqTimeout_PreDesc[] = {
NULL
};
typedef RtemsRatemonReqTimeout_Context Context;
#define EVENT_RESET RTEMS_EVENT_0
typedef enum {
EVENT_RESET = RTEMS_EVENT_0,
EVENT_PERIOD_WAIT = RTEMS_EVENT_1,
EVENT_PERIOD_OTHER = RTEMS_EVENT_2
} Event;
#define EVENT_PERIOD_WAIT RTEMS_EVENT_1
#define EVENT_PERIOD_OTHER RTEMS_EVENT_2
typedef RtemsRatemonReqTimeout_Context Context;
static void Tick( void *arg )
{