Skip to content

Add flush() to Print for backwards compatibility #541

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bhatasaka
Copy link

Adds a virtual void flush() declaration to Print.

The void flush() function is referenced in at least one library that I know of - SD Fat, and if this core is used with the library, compilation fails since it tries to override flush().
This change has already been made to the Adafruit Arduino core: Commit 33d98c0

And a need for this fix mentioned in several other places:

Thank you.

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.

1 participant