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
119ece2b
Commit
119ece2b
authored
Apr 23, 2019
by
Dirk O. Kaar
Committed by
Me No Dev
Apr 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability from ESP8266, virtual Stream member functions. (#2701)
parent
606446a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cores/esp32/Stream.h
cores/esp32/Stream.h
+3
-3
No files found.
cores/esp32/Stream.h
View file @
119ece2b
...
...
@@ -97,8 +97,8 @@ public:
float
parseFloat
();
// float version of parseInt
size_t
readBytes
(
char
*
buffer
,
size_t
length
);
// read chars from stream into buffer
size_t
readBytes
(
uint8_t
*
buffer
,
size_t
length
)
virtual
size_t
readBytes
(
char
*
buffer
,
size_t
length
);
// read chars from stream into buffer
virtual
size_t
readBytes
(
uint8_t
*
buffer
,
size_t
length
)
{
return
readBytes
((
char
*
)
buffer
,
length
);
}
...
...
@@ -114,7 +114,7 @@ public:
// returns the number of characters placed in the buffer (0 means no valid data found)
// Arduino String functions to be added here
String
readString
();
virtual
String
readString
();
String
readStringUntil
(
char
terminator
);
protected:
...
...
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