diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-25 14:51:44 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-25 14:51:44 +0000 |
commit | f185bb36f26fe0e808048e5f2f3a8a3eda46d0c7 (patch) | |
tree | 449db287acefaf8aa436b8dd362beb4bed1b9f74 /nuttx/net | |
parent | 048de7cf3c1d0a20adb148aaa1ff3bc299858ca3 (diff) | |
download | px4-nuttx-f185bb36f26fe0e808048e5f2f3a8a3eda46d0c7.tar.gz px4-nuttx-f185bb36f26fe0e808048e5f2f3a8a3eda46d0c7.tar.bz2 px4-nuttx-f185bb36f26fe0e808048e5f2f3a8a3eda46d0c7.zip |
RTL8187 I/O routines
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3414 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/net')
-rw-r--r-- | nuttx/net/uip/uip_lock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/net/uip/uip_lock.c b/nuttx/net/uip/uip_lock.c index f11ae1c0e..f7e218d91 100644 --- a/nuttx/net/uip/uip_lock.c +++ b/nuttx/net/uip/uip_lock.c @@ -4,7 +4,6 @@ * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -156,7 +155,7 @@ void uip_unlock(uip_lock_t flags) if (g_count == 1) { - /* We no longer hold the semaphored */ + /* We no longer hold the semaphore */ g_holder = NO_HOLDER; g_count = 0; @@ -164,7 +163,7 @@ void uip_unlock(uip_lock_t flags) } else { - /* We still hold the seamphore. Just decrement the count */ + /* We still hold the semaphore. Just decrement the count */ g_count--; } |