Skip to content
Commit 4a928409 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Anas Nashif
Browse files

subsys/logging: sys_event_logger_get: Fix k_sem_take() success check.



k_sem_take() is documented as returning negative value for error and
0 for success. The old code didn't work.

Change-Id: I717b35d73fced476b50e3207410858f86c2ef9bc
Signed-off-by: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent a90ae565
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment