mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
parent
9fcf14f81f
commit
f4ef6fd7d8
@ -274,7 +274,7 @@ int Stream::read (uint8_t* buffer, size_t maxLen)
|
||||
int c = read();
|
||||
if (c == -1)
|
||||
break;
|
||||
buffer[nbread++] = read();
|
||||
buffer[nbread++] = c;
|
||||
}
|
||||
return nbread;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user