-
-
Notifications
You must be signed in to change notification settings - Fork 130
Why is flush() in Stream and not in Print? #102
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
Comments
Hm, it surprises me that it is. In the AVR and SAM cores, this method was moved to I wonder what version this API was based on, or if it was maybe moved back for some reason? |
This repository also seem to still pre-date the addition of availableForWrite(), which has been a part of the core library for a very long time. I mentioned this ~4 years ago. #64 (comment) Maybe it should be its own issue? But frankly, I've having a hard time taking this repository seriously. :( |
but it is used in megaavr core and in mbed core |
It is even more confusing that:
I had to use |
|
and in the |
I'm rebasing it there too |
Why is in Stream.h
virtual void flush() = 0;
?flush()
is output related and should be inPrint
as it is in AVR core.The text was updated successfully, but these errors were encountered: