Nul sent when using CR lineending
When I have this code sendln 'M' and the option under setup -> terminal -> new-line -> transmit is set to CR, the following bytes will end up on the receiver side:
00000000 4e 0d 00 |N..|
When Set to LF only, I will get
00000000 4e 0a |N.|
When I set the option to CR+LF I will receive
00000000 4e 0d 0a |N..|
Clearly, 0d 00 is wrong and it should be 0d only.
When I have this code sendln 'M' and the option under setup -> terminal -> new-line -> transmit is set to CR, the following bytes will end up on the receiver side:
00000000 4e 0d 00 |N..|
When Set to LF only, I will get
00000000 4e 0a |N.|
When I set the option to CR+LF I will receive
00000000 4e 0d 0a |N..|
Clearly, 0d 00 is wrong and it should be 0d only.