Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Wire: write buffer API should have const buffer arg #48

Closed
sandeepmistry opened this issue Jan 15, 2020 · 0 comments
Closed

Wire: write buffer API should have const buffer arg #48

sandeepmistry opened this issue Jan 15, 2020 · 0 comments

Comments

@sandeepmistry
Copy link
Contributor

Comparing the Wire library with SAMD:

https://github.com/arduino/ArduinoCore-nRF528x-mbedos/blob/master/libraries/Wire/Wire.h#L48

virtual size_t write(uint8_t* data, int len);

to

size_t write(const uint8_t * data, size_t quantity);

https://github.com/arduino/ArduinoCore-samd/blob/master/libraries/Wire/Wire.h

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant