possible bug on chibios 3 I2C code
Posted: Wed Jul 23, 2014 2:40 am
os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.c line 800:
is this correct, or I can't transfer 1 byte from I2C?
Code: Select all
#if defined(STM32F1XX_I2C)
osalDbgCheck((rxbytes == 0) || ((rxbytes > 1) && (rxbuf != NULL)));
#endifis this correct, or I can't transfer 1 byte from I2C?