# HG changeset patch # User Michael Spacefalcon # Date 1399120189 0 # Node ID 1c94c36ca3e49eabe7d108b7bf7d08215a507ebb # Parent fcbdb2ae1a47ccda160d5b052e6229cce0203fb4 OSL: os_pro_fl.c done diff -r fcbdb2ae1a47 -r 1c94c36ca3e4 gsm-fw/gpf/osl/os_pro_fl.c --- 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); +}