{\r
/* Check if the reset pulse period has elapsed, if so tristate the target reset line */\r
if (ResetPulseMSRemaining && !(--ResetPulseMSRemaining))\r
- {\r
- AVR_RESET_LINE_PORT &= ~AVR_RESET_LINE_MASK;\r
- AVR_RESET_LINE_DDR &= ~AVR_RESET_LINE_MASK;\r
- }\r
+ AVR_RESET_LINE_DDR &= ~AVR_RESET_LINE_MASK;\r
\r
/* Turn off TX LED(s) once the TX pulse period has elapsed */\r
if (TxPulseMSRemaining && !(--TxPulseMSRemaining))\r
break;\r
}\r
\r
- UCSR1A = (1 << U2X1); \r
+ UCSR1A = (1 << U2X1);\r
UCSR1B = ((1 << TXEN1) | (1 << RXEN1));\r
UCSR1C = ConfigMask; \r
UBRR1 = SERIAL_2X_UBBRVAL((uint16_t)CDCInterfaceInfo->State.LineEncoding.BaudRateBPS);\r
/* Check if the DTR line has been asserted - if so, start the target AVR's reset pulse */\r
if (CDCInterfaceInfo->State.ControlLineStates.HostToDevice & CDC_CONTROL_LINE_OUT_DTR)\r
{\r
- AVR_RESET_LINE_DDR |= AVR_RESET_LINE_MASK;\r
- AVR_RESET_LINE_PORT &= ~AVR_RESET_LINE_MASK;\r
-\r
+ AVR_RESET_LINE_DDR |= AVR_RESET_LINE_MASK;\r
ResetPulseMSRemaining = AVR_RESET_PULSE_MS;\r
}\r
}\r