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 f4ef6fd

Browse filesBrowse files
authored
fix Stream.read into buffer ignoring every second byte (esp8266#8452) (esp8266#8453)
1 parent 9fcf14f commit f4ef6fd
Copy full SHA for f4ef6fd

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cores/esp8266/Stream.cpp

Copy file name to clipboardExpand all lines: cores/esp8266/Stream.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ int Stream::read (uint8_t* buffer, size_t maxLen)
274274
int c = read();
275275
if (c == -1)
276276
break;
277-
buffer[nbread++] = read();
277+
buffer[nbread++] = c;
278278
}
279279
return nbread;
280280
}

0 commit comments

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