mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix man page:
- It should say 'read' in the I2CREAD section. - last in the struct indicates the last command in a sequence, not the reverse. Reviewed by: imp MFC after: 3 days
This commit is contained in:
parent
a96032e552
commit
8e349925f4
1 changed files with 5 additions and 3 deletions
|
|
@ -104,7 +104,8 @@ element is the number of bytes to write.
|
|||
The
|
||||
.Va last
|
||||
element is a boolean flag.
|
||||
It is non-zero when additional write commands will follow.
|
||||
It must be zero when additional read commands will follow, or non-zero if this
|
||||
is the last command.
|
||||
The
|
||||
.Va buf
|
||||
element is a pointer to the data to write to the bus.
|
||||
|
|
@ -120,11 +121,12 @@ The
|
|||
element is ignored.
|
||||
The
|
||||
.Va count
|
||||
element is the number of bytes to write.
|
||||
element is the number of bytes to read.
|
||||
The
|
||||
.Va last
|
||||
element is a boolean flag.
|
||||
It is non-zero when additional write commands will follow.
|
||||
It must be zero when additional read commands will follow, or non-zero if this
|
||||
is the last command.
|
||||
The
|
||||
.Va buf
|
||||
element is a pointer to where to store the data read from the bus.
|
||||
|
|
|
|||
Loading…
Reference in a new issue