Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
15db2971
Unverified
Commit
15db2971
authored
Jan 11, 2021
by
drmpf
Committed by
GitHub
Jan 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
availableForWrite (#4664)
added availableForWrite to Print.h to make compatible with Arduino Print.h
parent
fe093a5e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cores/esp32/Print.h
cores/esp32/Print.h
+5
-0
No files found.
cores/esp32/Print.h
View file @
15db2971
...
@@ -73,6 +73,11 @@ public:
...
@@ -73,6 +73,11 @@ public:
}
}
size_t
printf
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
2
,
3
)));
size_t
printf
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
2
,
3
)));
// add availableForWrite to make compatible with Arduino Print.h
// default to zero, meaning "a single write may block"
// should be overriden by subclasses with buffering
virtual
int
availableForWrite
()
{
return
0
;
}
size_t
print
(
const
__FlashStringHelper
*
);
size_t
print
(
const
__FlashStringHelper
*
);
size_t
print
(
const
String
&
);
size_t
print
(
const
String
&
);
size_t
print
(
const
char
[]);
size_t
print
(
const
char
[]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment