stm32/f1/i2c: remove unnecessary parenthesis

This commit is contained in:
Jeff Ciesielski 2012-10-19 23:16:08 -07:00
parent 24a35126bf
commit ffe392c11b

View File

@ -288,7 +288,7 @@ void i2c_send_data(u32 i2c, u8 data)
*/ */
uint8_t i2c_get_data(u32 i2c) uint8_t i2c_get_data(u32 i2c)
{ {
return (I2C_DR(i2c) & 0xff); return I2C_DR(i2c) & 0xff;
} }
/*-----------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------*/