forked from Imagelibrary/rtems
2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self() directive instead of violating RTEMS internals.
This commit is contained in:
@@ -33,7 +33,7 @@ const char *CallerName()
|
||||
static char buffer[32];
|
||||
#if defined(TEST_PRINT_TASK_ID)
|
||||
sprintf( buffer, "0x%08x -- %d",
|
||||
_Thread_Executing->Object.id, _Thread_Executing->current_priority );
|
||||
rtems_task_self(), _Thread_Executing->current_priority );
|
||||
#else
|
||||
union {
|
||||
uint32_t u;
|
||||
|
||||
Reference in New Issue
Block a user