Skip to content

stm32/i2cv2: allow zero-length transfers. #2298

Open
@Dirbaio

Description

@Dirbaio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions