diff options
| author | danicampora | 2015-02-22 17:31:26 +0100 |
|---|---|---|
| committer | danicampora | 2015-02-22 17:50:50 +0100 |
| commit | 33ddb566a7565b4fba4a68939d43bcdb5f132836 (patch) | |
| tree | bd348fd647ca26de8e05b18e411bcf7323a09a8c /cc3200/simplelink/oslib | |
| parent | 5c047b97f2e41b51f8314f6ee06788b1d9246dbf (diff) | |
cc3200: Remove dependencies from FreeRTOS.
Use the simplelink wrappers instead. This is one step further
towards having a single module for the cc3200 and the cc3100.
Diffstat (limited to 'cc3200/simplelink/oslib')
| -rw-r--r-- | cc3200/simplelink/oslib/osi_freertos.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cc3200/simplelink/oslib/osi_freertos.c b/cc3200/simplelink/oslib/osi_freertos.c index e8b617f84..8684d8f5d 100644 --- a/cc3200/simplelink/oslib/osi_freertos.c +++ b/cc3200/simplelink/oslib/osi_freertos.c @@ -176,12 +176,7 @@ OsiReturnVal_e osi_SyncObjSignal(OsiSyncObj_t* pSyncObj) return OSI_INVALID_PARAMS; } - if(pdTRUE != xSemaphoreGive( *pSyncObj )) - { - //In case of Semaphore, you are expected to get this if multiple sem - // give is called before sem take - return OSI_OK; - } + xSemaphoreGive( *pSyncObj ); return OSI_OK; } |
