Trivial update to some comments
This commit is contained in:
parent
4320b1b1a3
commit
1c4863c24e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user