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:
parent
0bcc82ac28
commit
8de31cbb78
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue