1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

cpu/stm_common/i2c: style fix

This commit is contained in:
MrKevinWeiss 2018-06-25 13:17:49 +02:00 committed by dylad
parent 6c4f144e25
commit 6f6c3d7926

View File

@ -236,7 +236,7 @@ int i2c_read_bytes(i2c_t dev, uint16_t address, void *data, size_t length,
}
_clear_addr(i2c);
}
else{
else {
if (length == 1 && !(flags & I2C_NOSTOP)) {
DEBUG("[i2c] read_bytes: Set ACK = 0\n");
i2c->CR1 &= ~(I2C_CR1_ACK);