summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-24 06:41:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-24 06:41:28 -0600
commit4aff813b3c25cea99f01ea3eb4eb5551b29938e6 (patch)
treef27a73a44371b32b807d414ab606027d99946e84
parent5ef1c7139a39e79f3b7a4365808312f47abfe0e8 (diff)
downloadnuttx-4aff813b3c25cea99f01ea3eb4eb5551b29938e6.tar.gz
nuttx-4aff813b3c25cea99f01ea3eb4eb5551b29938e6.tar.bz2
nuttx-4aff813b3c25cea99f01ea3eb4eb5551b29938e6.zip
Trivial update to some comments
-rw-r--r--nuttx/drivers/can.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/can.c b/nuttx/drivers/can.c
index d36d7e00a..f1a57925e 100644
--- a/nuttx/drivers/can.c
+++ b/nuttx/drivers/can.c
@@ -186,7 +186,7 @@ static int can_open(FAR struct file *filep)
dev_rxint(dev, true);
- /* Save the new open count on success */
+ /* Save the new open count only on success */
dev->cd_ocount = 1;
}
@@ -195,7 +195,7 @@ static int can_open(FAR struct file *filep)
}
else
{
- /* Save the incremented open count on success */
+ /* Save the incremented open count */
dev->cd_ocount = tmp;
}