mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add a fake flag for write. Many drivers have started to use it and it
seems like a good idea. Submitted by: sam
This commit is contained in:
parent
843b99c6f7
commit
46ca0665fd
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ struct iic_msg
|
|||
{
|
||||
uint16_t slave;
|
||||
uint16_t flags;
|
||||
#define IIC_M_RD 0x0001 /* read vs write */
|
||||
#define IIC_M_WR 0 /* Fake flag for write */
|
||||
#define IIC_M_RD 0x0001 /* read vs write */
|
||||
uint16_t len; /* msg legnth */
|
||||
uint8_t * buf;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue