mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
df19d33b77
Fix the condition to return -ENOPNOTSUPP when i2c repeated read attempted. Currently the error occures even if a read after write is attempted. This is the standard way to i2c_read_reg which should be supported. The -EOPNOTSUPP requires the previous R/W state to be reading. This means a `I2C_SR2_TRA` must be checked to be 0. |
||
---|---|---|
.. | ||
dist | ||
include | ||
ldscripts | ||
periph | ||
cpu_common.c | ||
cpu_init.c | ||
doc.txt | ||
Makefile | ||
Makefile.features | ||
Makefile.include | ||
stm32_mem_lengths.mk | ||
stmclk_common.c | ||
stmclk_l0l1.c | ||
stmclk.c |