Skip to content
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

Change definition of IRsend::sendRaw array parameter to const #227

Closed
wants to merge 1 commit into from

Conversation

Sebazzz
Copy link

@Sebazzz Sebazzz commented Oct 25, 2015

Change definition of IRsend::sendRaw method array parameter to const to allow passing constant array to function. This would allow passing const arrays to the method.

@z3t0
Copy link
Collaborator

z3t0 commented Dec 3, 2015

@Sebazzz but would that not restrict you to only passing constant arrays?

@Sebazzz
Copy link
Author

Sebazzz commented Dec 3, 2015

No but it would allow me to pass constant arrays. const in this context only means that the function won’t alter the array, which it doesn’t.

z3t0 added a commit that referenced this pull request Feb 21, 2016
@z3t0 z3t0 closed this Feb 21, 2016
Theaninova pushed a commit to Theaninova/Arduino-IRremote that referenced this pull request Dec 2, 2023
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