Skip to content

TwoWire requestFrom(uint8_t address, size_t size, bool sendStop) Implementation #1183

Closed
@aaron-neal

Description

@aaron-neal

I am having a Platformio build error with a library (ArduinoECCX08).

This is because it calls:

while (_wire->requestFrom((uint8_t)_address, (size_t)responseSize, (bool)true) != responseSize && retries--);

Where it s casting the sendStop paramater as a boolean, the compiler fails saying that it is ambiguous. The core does not appear to have the Arduino specific function as found here --> Link

Describe the solution you'd like
Implement a handler that better aligns with the arduino specfification --> Docs

Are there any guides I need to follow to implement a PR for this repo?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions