FreeCalypso > hg > freecalypso-sw
changeset 342:1c94c36ca3e4
OSL: os_pro_fl.c done
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 03 May 2014 12:29:49 +0000 |
parents | fcbdb2ae1a47 |
children | e3a2e6e875de |
files | gsm-fw/gpf/osl/os_pro_fl.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/osl/os_pro_fl.c Sat May 03 12:24:56 2014 +0000 +++ b/gsm-fw/gpf/osl/os_pro_fl.c Sat May 03 12:29:49 2014 +0000 @@ -226,3 +226,12 @@ NU_Release_Semaphore(&ProSemCB); return(OS_OK); } + +GLOBAL LONG +os_ChangePreemption(char preempt) +{ + if (NU_Change_Preemption(preempt) == NU_SUCCESS) + return(OS_OK); + else + return(OS_ERROR); +}