Skip to content

Add requestFrom(uint8_t address, size_t quantity, bool sendStop) #1184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

aaron-neal
Copy link
Contributor

This PR adds a missing function declaration that aligns further with the arduino spec as specified in issue #1183

This is to fix compilation with an external Arduino library ArduinoECCX08

Fixes #1183

Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
After discussion with @fpistm, we conclude that it is not worth today to implement the code in
:requestFrom(uint8_t address, size_t quantity, bool sendStop)
instead of
requestFrom((uint8_t)address, (uint8_t)quantity, (uint8_t)sendStop)
like others like megaavr. It won't change neither the API nor the behavior.

@ABOSTM ABOSTM merged commit 642e6a2 into stm32duino:master Oct 20, 2020
@fpistm fpistm added this to the 2.0.0 milestone Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TwoWire requestFrom(uint8_t address, size_t size, bool sendStop) Implementation
3 participants