Skip to content

Conversation

bperrybap
Copy link
Contributor

This patch will fix issue #1725
There is no need to have the uint8_t version of the endTransmission() function.
Having both endTransmission(uint8_t) and endTransmission(bool) creates problems. The biggest problem being that endTransmission(0) and endTransmission(1) won't compile like it does on all the other cores.
Simply removing endTransmission(uint8_t) solves the problem.

Having both endTransmission(bool) and endTransmission(uint8_t) creates problems.
There is no need for endTransmission(uint8_t)
endTransmission(1) and endTransmission(0) works with endTransmission(bool).
Removing endTransmission(uint8_t) allows the ESP32 code to be compatible with
all the other Arduino cores by allowing endTransmission(1) and endTranmission(0)
to work as it does on all the other cores.
@me-no-dev
Copy link
Member

Hey thanks! Sorry for the delay :)

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

Successfully merging this pull request may close these issues.

2 participants