Skip to content

Commit a2a3ab2

Browse files
committed
[rs232][network] set line ending to \r\n.
1 parent 0183a03 commit a2a3ab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/device/rs232/network.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ bool rs232Network::instantiate_protocol()
897897
return false;
898898
}
899899

900+
protocol->setLineEnding("\r\n");
900901
Debug_printf("rs232Network::instantiate_protocol() - Protocol %s created.\n", urlParser->scheme.c_str());
901902
return true;
902903
}

0 commit comments

Comments
 (0)