Gobble echoed character

This commit is contained in:
Michael Hayes
2013-09-25 22:29:24 +12:00
parent b67c196143
commit 264608fc16
+4 -2
View File
@@ -49,8 +49,10 @@ ir_uart_putc (char ch)
{ {
usart1_putc (ch); usart1_putc (ch);
/* The character gets echoed on the UCFK4 so we should /* Gobble echoed character. The echoing is due to an electrical
probably gobble it here. */ common-path interference problem caused by a poor PCB layout of the
track powering the IR receiver. */
ir_uart_getc ();
return 1; return 1;
} }