diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-21 10:47:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-24 09:22:36 +0100 |
commit | 0b263b0eb7dd05efe44359b9d8172926856badc7 (patch) | |
tree | 0fcb6c0924561f08c7854a5fbecc51f79bfca22a /cpukit/score/src/mpci.c | |
parent | build: Fix format in wscript (diff) | |
download | rtems-0b263b0eb7dd05efe44359b9d8172926856badc7.tar.bz2 |
score: Remove _Objects_Open()
Use the type safe _Objects_Open_u32() instead. Return the object
identifier to enforce a common usage pattern.
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r-- | cpukit/score/src/mpci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index a18155351a..91d0eb0214 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -142,7 +142,7 @@ static void _MPCI_Create_server( void ) memset( &config, 0, sizeof( config ) ); config.scheduler = &_Scheduler_Table[ 0 ]; - config.name.name_u32 = _Objects_Build_name( 'M', 'P', 'C', 'I' ); + config.name = _Objects_Build_name( 'M', 'P', 'C', 'I' ); config.priority = PRIORITY_PSEUDO_ISR; config.budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; config.is_fp = CPU_ALL_TASKS_ARE_FP; |