projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add glitch protection to the software UART in the XPLAINBridge project code, so that...
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
XPLAINBridge.c
diff --git
a/Projects/XPLAINBridge/XPLAINBridge.c
b/Projects/XPLAINBridge/XPLAINBridge.c
index
c08dfe9
..
1f00703
100644
(file)
--- a/
Projects/XPLAINBridge/XPLAINBridge.c
+++ b/
Projects/XPLAINBridge/XPLAINBridge.c
@@
-180,7
+180,7
@@
void EVENT_USB_Device_ConfigurationChanged(void)
{
EndpointConfigSuccess &= CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
{
EndpointConfigSuccess &= CDC_Device_ConfigureEndpoints(&VirtualSerial_CDC_Interface);
- /* Configure the UART flush timer */
+ /* Configure the UART flush timer
- run at FCPU/1024 for maximum interval before overflow
*/
TCCR0B = ((1 << CS02) | (1 << CS00));
}
else
TCCR0B = ((1 << CS02) | (1 << CS00));
}
else