diff options
Diffstat (limited to 'nuttx/drivers/can.c')
-rw-r--r-- | nuttx/drivers/can.c | 4 |
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; } |