Gobble echoed character
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user