UCSR1A = (1 << U2X1);\r
UCSR1B = ((1 << RXCIE1) | (1 << TXEN1) | (1 << RXEN1));\r
UCSR1C = ConfigMask; \r
- UBRR1 = SERIAL_2X_UBBRVAL((uint16_t)CDCInterfaceInfo->State.LineEncoding.BaudRateBPS);\r
+ UBRR1 = SERIAL_2X_UBBRVAL(CDCInterfaceInfo->State.LineEncoding.BaudRateBPS);\r
}\r
\r
/** ISR to manage the reception of data from the serial port, placing received bytes into a circular buffer\r