Skip to content

Commit

Permalink
rwbuffer: fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: wanggang26 <[email protected]>
  • Loading branch information
wanggang26 authored and acassis committed Sep 16, 2024
1 parent 872208f commit 0a8b640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nuttx/drivers/rwbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct rwbuffer_s
/* This is the state of the read-ahead buffering */

#ifdef CONFIG_DRVR_READAHEAD
mutex_t rhlock; /* Enforces exclusive access to the write buffer */
mutex_t rhlock; /* Enforces exclusive access to the read-ahead buffer */
FAR uint8_t *rhbuffer; /* Allocated read-ahead buffer */
uint16_t rhnblocks; /* Number of blocks in read-ahead buffer */
off_t rhblockstart; /* First block in read-ahead buffer */
Expand Down

0 comments on commit 0a8b640

Please sign in to comment.