From 8de31cbb78f98eb4d3c5b7232e85337b15f294e5 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 12 Jul 2010 07:11:50 +0000 Subject: Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings. --- Projects/XPLAINBridge/Lib/SoftUART.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/XPLAINBridge/Lib/SoftUART.c') diff --git a/Projects/XPLAINBridge/Lib/SoftUART.c b/Projects/XPLAINBridge/Lib/SoftUART.c index 90c23b71d..4ec8dcdc8 100644 --- a/Projects/XPLAINBridge/Lib/SoftUART.c +++ b/Projects/XPLAINBridge/Lib/SoftUART.c @@ -124,7 +124,7 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK) } /** ISR to manage the transmission of bits via the software UART. */ -ISR(TIMER3_COMPA_vect, ISR_NOBLOCK) +ISR(TIMER3_COMPA_vect, ISR_BLOCK) { /* Check if transmission has finished */ if (TX_BitsRemaining) -- cgit v1.2.3