From 33ddb566a7565b4fba4a68939d43bcdb5f132836 Mon Sep 17 00:00:00 2001 From: danicampora Date: Sun, 22 Feb 2015 17:31:26 +0100 Subject: 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. --- cc3200/simplelink/oslib/osi_freertos.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cc3200/simplelink/oslib') 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; } -- cgit v1.2.3