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:
parent
6c4f144e25
commit
6f6c3d7926
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user