From 3fd246041b10609a204a6352aa1b86d7000171d4 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 12 Jul 2010 02:23:11 +0000 Subject: Add glitch protection to the software UART in the XPLAINBridge project code, so that very short glitches on the RX line don't cause a frame reception to occur. --- Projects/XPLAINBridge/XPLAINBridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/XPLAINBridge/XPLAINBridge.c') diff --git a/Projects/XPLAINBridge/XPLAINBridge.c b/Projects/XPLAINBridge/XPLAINBridge.c index c08dfe980c..1f0070319f 100644 --- 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); - /* 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 -- cgit v1.2.3