forked from Imagelibrary/rtems
rtems: Use unique option values
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.
This commit is contained in:
@@ -156,7 +156,7 @@ typedef uint32_t rtems_attribute;
|
|||||||
* This attribute constant indicates that the Classic API Barrier
|
* This attribute constant indicates that the Classic API Barrier
|
||||||
* instance created will use an automatic release protocol.
|
* 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
|
* This attribute constant indicates that the Classic API Barrier
|
||||||
|
|||||||
Reference in New Issue
Block a user