Skip to content
Snippets Groups Projects
Commit 032e64aa authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

px4_sem: set errno, return -1 on any error

- Don't duplicate the ret variable to err.
- Return -1 on any error, 0 otherwise.
- Set errno to return value of pthread_cond_timedwait.
parent 23653f9f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment