Skip to content
Snippets Groups Projects
Commit e14188b4 authored by patacongo's avatar patacongo
Browse files

Add comments

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@769 42af7a65-404d-4744-a932-0658087f49c3
parent 9ccfde45
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,10 @@ int timer_release(FAR struct posix_timer_s *timer)
return -EINVAL;
}
/* Release one reference to timer. Don't delete the timer until the count
* would decrement to zero.
*/
if (timer->pt_crefs > 1)
{
timer->pt_crefs--;
......
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