Skip to content
Commit 845fdbb7 authored by Niranjhana N's avatar Niranjhana N Committed by Anas Nashif
Browse files

lib: cmsis_rtos_v1: replace an else case



Replace an else-if case in osSemaphoreWait with
else to account for both EBUSY and EAGAIN return
values from k_sem_take. The return value would be
0 for osSemaphoreWait in both cases.

Signed-off-by: default avatarNiranjhana N <niranjhana.n@intel.com>
parent dc537eb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment