[En-Nut-Discussion] RS485 TX/RX control pin

Przemyslaw Rudy prudy at audiotech.pl
Tue May 25 21:00:26 CEST 2004


Hi,
in the release 3.4.3 (in the CVS200405252007 too) in usartavr.c there is:
---------------------
static void AvrUsartTxStart(void)
{
#ifdef UART_HDX_BIT
     if (hdx_control) {
         /* Enable half duplex transmitter. */
	sbi(UART_RTS_PORT, UART_RTS_BIT);
     }
#endif
---------------------

shouldn't be?:

---------------------
	UART_HDX_TX(UART_HDX_PORT, UART_HDX_BIT);
---------------------

Thanks,
Przemek




More information about the En-Nut-Discussion mailing list