Skip to content

2.5.0 compatibility issue with Arduino Wire API #5901

Closed
@SergioGarciaCuevasGonzalez

Description

The Wire library included in version 2.5.0 breaks compatibility with the common Arduino Wire library. On version 2.5.0, TwoWire::onReceive() has the following (incompatible) signature:

void TwoWire::onReceive(void (*)(size_t));

The expected signature is as follows:

void TwoWire::onReceive(void (*)(int));

Portable I2C slave reception code won't compile anymore because of this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions