mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user