syslib: make sys_nice use field aliases
This commit is contained in:
parent
f92e0dafb5
commit
32b2758ba8
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ PUBLIC int sys_nice(int proc, int prio)
|
|||
{
|
||||
message m;
|
||||
|
||||
m.m1_i1 = proc;
|
||||
m.m1_i2 = prio;
|
||||
m.PR_ENDPT = proc;
|
||||
m.PR_PRIORITY = prio;
|
||||
return(_taskcall(SYSTASK, SYS_NICE, &m));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue