summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_setparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched_setparam.c')
-rw-r--r--nuttx/sched/sched_setparam.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c
index 482b62ddb..a1e5af97f 100644
--- a/nuttx/sched/sched_setparam.c
+++ b/nuttx/sched/sched_setparam.c
@@ -105,12 +105,12 @@
int sched_setparam(pid_t pid, const struct sched_param *param)
{
- _TCB *rtcb;
- _TCB *tcb;
- tstate_t task_state;
- uint32 saved_state;
- int sched_priority = param->sched_priority;
- int ret = 0;
+ _TCB *rtcb;
+ _TCB *tcb;
+ tstate_t task_state;
+ irqstate_t saved_state;
+ int sched_priority = param->sched_priority;
+ int ret = 0;
/* Verify that the requested priority is in the valid range */