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

follow arduino API: pure virtual Stream::flush() moved to empty virtual Print::flush() #4029

Merged
merged 3 commits into from
Dec 29, 2017

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Dec 26, 2017

re fix #4018
::flush() declaration are now exactly the same as arduino's
flush added
flush removed

@igrr
Copy link
Member

igrr commented Dec 27, 2017

Looks like Print is also missing the virtual destructor... wonder why the compiler isn't warning about this. Change looks good though.

@d-a-v
Copy link
Collaborator Author

d-a-v commented Dec 27, 2017

I guess that's because all arduino classes are generally global variables not dynamically allocated.
I'll try to make the compiler complain and eventually add the virtual destructor.

@devyte devyte merged commit 0b2df35 into esp8266:master Dec 29, 2017
@d-a-v d-a-v deleted the 4018 branch January 5, 2018 17:55
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.

flush() is a TX related function
3 participants