diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-03-17 15:54:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-03-17 15:54:32 +0100 |
commit | 6faa92633ab7a0d1dd0fdab8a98501918a4808ef (patch) | |
tree | 7c481f8ee753c9efe62fd3b43a06c12048bc5253 /spec/rtems/ratemon | |
parent | modules: Update rtems (diff) | |
download | rtems-central-6faa92633ab7a0d1dd0fdab8a98501918a4808ef.tar.bz2 |
spec: 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.
Diffstat (limited to 'spec/rtems/ratemon')
-rw-r--r-- | spec/rtems/ratemon/req/timeout.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/rtems/ratemon/req/timeout.yml b/spec/rtems/ratemon/req/timeout.yml index 8dccab62..32bc488d 100644 --- a/spec/rtems/ratemon/req/timeout.yml +++ b/spec/rtems/ratemon/req/timeout.yml @@ -305,13 +305,13 @@ test-setup: description: null test-stop: null test-support: | - typedef ${.:/test-context-type} Context; + #define EVENT_RESET RTEMS_EVENT_0 + + #define EVENT_PERIOD_WAIT RTEMS_EVENT_1 - typedef enum { - EVENT_RESET = RTEMS_EVENT_0, - EVENT_PERIOD_WAIT = RTEMS_EVENT_1, - EVENT_PERIOD_OTHER = RTEMS_EVENT_2 - } Event; + #define EVENT_PERIOD_OTHER RTEMS_EVENT_2 + + typedef ${.:/test-context-type} Context; static void Tick( void *arg ) { |