mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
I2C: Cosmetic changes
This commit is contained in:
parent
a64f36a63e
commit
bec6f373a7
1 changed files with 2 additions and 2 deletions
|
|
@ -861,10 +861,10 @@ static int ez80_i2c_transfer(FAR struct i2c_master_s *dev,
|
|||
{
|
||||
msg = &msgs[i];
|
||||
|
||||
/* Set the I2C address */
|
||||
/* Set the I2C frequency and address */
|
||||
|
||||
priv->addr = msg->addr;
|
||||
priv->addr10 = (msg->flags & I2C_M_TEN) != 0);
|
||||
priv->addr10 = ((msg->flags & I2C_M_TEN) != 0);
|
||||
|
||||
/* Is this the last message in the sequence? */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue