Skip to content

Add flush() to Print for backwards compatibility#541

Open
bhatasaka wants to merge 1 commit intosandeepmistry:masterfrom
bhatasaka:master
Open

Add flush() to Print for backwards compatibility#541
bhatasaka wants to merge 1 commit intosandeepmistry:masterfrom
bhatasaka:master

Conversation

@bhatasaka
Copy link
Copy Markdown

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.

2 participants