FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osl/os_pro_fl.c @ 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 |
comparison
equal
deleted
inserted
replaced
341:fcbdb2ae1a47 | 342:1c94c36ca3e4 |
---|---|
224 *TaskHandle = Handle; | 224 *TaskHandle = Handle; |
225 if (sem_sts == NU_SUCCESS) | 225 if (sem_sts == NU_SUCCESS) |
226 NU_Release_Semaphore(&ProSemCB); | 226 NU_Release_Semaphore(&ProSemCB); |
227 return(OS_OK); | 227 return(OS_OK); |
228 } | 228 } |
229 | |
230 GLOBAL LONG | |
231 os_ChangePreemption(char preempt) | |
232 { | |
233 if (NU_Change_Preemption(preempt) == NU_SUCCESS) | |
234 return(OS_OK); | |
235 else | |
236 return(OS_ERROR); | |
237 } |