Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns will not occur regardless of hardware and baud rate settings.

This commit is contained in:
Dean Camera 2010-07-12 07:11:50 +00:00
parent 0bcc82ac28
commit 8de31cbb78
2 changed files with 3 additions and 3 deletions

View file

@ -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)