We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b020c commit 9810338Copy full SHA for 9810338
src/Adapters/BlinkerSerial.h
@@ -25,7 +25,7 @@ class BlinkerTransportStream
25
}
26
27
if (stream->available()) {
28
- strcpy(streamData, (stream->readString()).c_str());
+ strcpy(streamData, (stream->readStringUntil('\n')).c_str());
29
#ifdef BLINKER_DEBUG_ALL
30
BLINKER_LOG2(BLINKER_F("handleSerial: "), streamData);
31
#endif
0 commit comments