Changeset ef900ab in rtems


Ignore:
Timestamp:
Mar 7, 2018, 12:01:19 PM (14 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d39cc068
Parents:
a4151d0
git-author:
Sebastian Huber <sebastian.huber@…> (03/07/18 12:01:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/07/18 12:03:36)
Message:

capture: Fix get priority methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/capture.h

    ra4151d0 ref900ab  
    889889rtems_capture_task_real_priority (rtems_tcb* tcb)
    890890{
    891   return tcb->Real_priority.priority;
     891  return SCHEDULER_PRIORITY_UNMAP (tcb->Real_priority.priority);
    892892}
    893893
     
    904904rtems_capture_task_curr_priority (rtems_tcb* tcb)
    905905{
    906   return _Thread_Get_priority (tcb);
     906  return SCHEDULER_PRIORITY_UNMAP (_Thread_Get_priority (tcb));
    907907}
    908908
Note: See TracChangeset for help on using the changeset viewer.