diff --git a/sys/dev/iicbus/iic.h b/sys/dev/iicbus/iic.h index ed22d856fed..471f9768d2a 100644 --- a/sys/dev/iicbus/iic.h +++ b/sys/dev/iicbus/iic.h @@ -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; };