embassy
embassy copied to clipboard
stm32/i2cv2: allow zero-length transfers.
I2C has checks for zero-length transfers, which return an error. These should instead do the right thing (send the address, check for ACK, then do a stop condition).
This is useful for I2C scanning all addresses.