Closed
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.