Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 400d02e

Browse filesBrowse files
committed
API compatibility to AVR, ESP8266, et al
1 parent cec3fca commit 400d02e
Copy full SHA for 400d02e

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎cores/esp32/HardwareSerial.h

Copy file name to clipboardExpand all lines: cores/esp32/HardwareSerial.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ class HardwareSerial: public Stream
6666
void flush( bool txOnly);
6767
size_t write(uint8_t);
6868
size_t write(const uint8_t *buffer, size_t size);
69+
inline size_t write(const char * buffer, size_t size)
70+
{
71+
return write((uint8_t*) s, size);
72+
}
6973

7074
inline size_t write(const char * s)
7175
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.