diff options
Diffstat (limited to 'cpukit/libmisc/capture/capture.h')
-rw-r--r-- | cpukit/libmisc/capture/capture.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/libmisc/capture/capture.h b/cpukit/libmisc/capture/capture.h index ab461a92e5..d439968005 100644 --- a/cpukit/libmisc/capture/capture.h +++ b/cpukit/libmisc/capture/capture.h @@ -47,6 +47,7 @@ extern "C" { #include <rtems.h> #include <rtems/rtems/tasksimpl.h> +#include <rtems/score/schedulerimpl.h> /** * The number of tasks in a trigger group. @@ -737,7 +738,8 @@ rtems_capture_task_control_flags (rtems_tcb* tcb) static inline rtems_task_priority rtems_capture_task_start_priority (rtems_tcb* tcb) { - return _RTEMS_tasks_Priority_from_Core( + return _RTEMS_Priority_From_core( + _Scheduler_Get_own( tcb ), tcb->Start.initial_priority ); } |