forked from Imagelibrary/rtems
rtems/score/object.h: Correct types on _Objects_Build_id
close 1423
This commit is contained in:
committed by
Joel Sherrill
parent
ff1c6130ed
commit
89be4e7712
@@ -396,9 +396,9 @@ RTEMS_INLINE_ROUTINE Objects_Maximum _Objects_Get_index(
|
||||
*/
|
||||
RTEMS_INLINE_ROUTINE Objects_Id _Objects_Build_id(
|
||||
Objects_APIs the_api,
|
||||
uint32_t the_class,
|
||||
uint32_t node,
|
||||
uint32_t index
|
||||
uint16_t the_class,
|
||||
uint8_t node,
|
||||
uint16_t index
|
||||
)
|
||||
{
|
||||
return (( (Objects_Id) the_api ) << OBJECTS_API_START_BIT) |
|
||||
|
||||
Reference in New Issue
Block a user