[NUCLEO_F302R8] Typo corrections (astyle)

pull/697/head
bcostm 2014-11-13 16:43:09 +01:00
parent 285977d068
commit 2fb9552913
4 changed files with 6 additions and 6 deletions

View File

@ -127,7 +127,7 @@ void i2c_frequency(i2c_t *obj, int hz)
// wait before init
timeout = LONG_TIMEOUT;
while((__HAL_I2C_GET_FLAG(&I2cHandle, I2C_FLAG_BUSY)) && (timeout-- != 0));
while ((__HAL_I2C_GET_FLAG(&I2cHandle, I2C_FLAG_BUSY)) && (timeout-- != 0));
// Update the SystemCoreClock variable.
SystemCoreClockUpdate();
@ -362,7 +362,7 @@ void i2c_reset(i2c_t *obj)
// wait before reset
timeout = LONG_TIMEOUT;
while((__HAL_I2C_GET_FLAG(&I2cHandle, I2C_FLAG_BUSY)) && (timeout-- != 0));
while ((__HAL_I2C_GET_FLAG(&I2cHandle, I2C_FLAG_BUSY)) && (timeout-- != 0));
__I2C1_FORCE_RESET();
__I2C1_RELEASE_RESET();