diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-17 12:29:24 +0200 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-09-23 08:19:52 -0500 |
commit | 35052d7a5c734a2fb7e58040dce138071de72360 (patch) | |
tree | 9fcf5db37fdcb7277b2e2de299e6354bf985b570 | |
parent | 2575277b0d856a5357e7880ae718a4541809b6f0 (diff) |
rtems: Use unique option values5
The RTEMS_BARRIER_AUTOMATIC_RELEASE and RTEMS_BINARY_SEMAPHORE options
had the same value. In order to better detect a misuse of option values
(for example using RTEMS_BINARY_SEMAPHORE for rtems_barrier_create()),
the options should have unique values.
Close #4054.
-rw-r--r-- | cpukit/include/rtems/rtems/attr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtems/attr.h b/cpukit/include/rtems/rtems/attr.h index abc9da08cd..74ed96fdba 100644 --- a/cpukit/include/rtems/rtems/attr.h +++ b/cpukit/include/rtems/rtems/attr.h @@ -156,7 +156,7 @@ typedef uint32_t rtems_attribute; * This attribute constant indicates that the Classic API Barrier * instance created will use an automatic release protocol. */ -#define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000010 +#define RTEMS_BARRIER_AUTOMATIC_RELEASE 0x00000200 /** * This attribute constant indicates that the Classic API Barrier |