projects
/
pub
/
lufa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2de8f
)
Don't cast the line encoding baud rate to a uint16_t before performing the baud rate...
author
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 7 May 2010 06:49:31 +0000
(06:49 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 7 May 2010 06:49:31 +0000
(06:49 +0000)
Projects/Benito/Benito.c
patch
|
blob
|
blame
|
history
diff --git
a/Projects/Benito/Benito.c
b/Projects/Benito/Benito.c
index
be623e9
..
a91cef0
100644
(file)
--- a/
Projects/Benito/Benito.c
+++ b/
Projects/Benito/Benito.c
@@
-229,7
+229,7
@@
void EVENT_CDC_Device_LineEncodingChanged(USB_ClassInfo_CDC_Device_t* const CDCI
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