output CRLF instead of just LF to serial
This commit is contained in:
parent
3fcf9fde61
commit
f4b7a16f7b
@ -48,8 +48,12 @@ int c; /* character to append */
|
||||
* to the output driver if an END_OF_KMESS is encountered.
|
||||
*/
|
||||
if (c != END_OF_KMESS) {
|
||||
if (do_serial_debug)
|
||||
if (do_serial_debug) {
|
||||
if(c == '\n')
|
||||
ser_putc('\r');
|
||||
ser_putc(c);
|
||||
|
||||
}
|
||||
kmess.km_buf[kmess.km_next] = c; /* put normal char in buffer */
|
||||
if (kmess.km_size < KMESS_BUF_SIZE)
|
||||
kmess.km_size += 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user