]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commitdiff
PRSDK-8426: OSAL: SemaphoreP_postfromISR() API does not work for baremetal
authorAravind Batni <aravindbr@ti.com>
Thu, 7 May 2020 15:36:18 +0000 (11:36 -0400)
committerSivaraj R <sivaraj@ti.com>
Sat, 9 May 2020 06:31:35 +0000 (01:31 -0500)
Signed-off-by: Aravind Batni <aravindbr@ti.com>
packages/ti/osal/src/nonos/SemaphoreP_nonos.c

index 8220bc786763f45586a095eda776fead6c61b362..08eee3b76b415de20676e1f071dadacdd55e8fe9 100644 (file)
@@ -309,5 +309,13 @@ int32_t SemaphoreP_getCount(SemaphoreP_Handle handle)
     return (ret);
 }
 
+/*
+ *  ======== SemaphoreP_postFromISR ========
+ */
+SemaphoreP_Status SemaphoreP_postFromISR(SemaphoreP_Handle handle)
+{
+    return (SemaphoreP_post(handle));
+}
+
 /* Nothing past this point */