From bec6f373a79d5c4e36bf9f9da141ba2e980f0757 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 1 Feb 2016 14:15:52 -0600 Subject: [PATCH] I2C: Cosmetic changes --- arch/z80/src/ez80/ez80_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/z80/src/ez80/ez80_i2c.c b/arch/z80/src/ez80/ez80_i2c.c index c342939553..c8fd579328 100644 --- a/arch/z80/src/ez80/ez80_i2c.c +++ b/arch/z80/src/ez80/ez80_i2c.c @@ -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? */