projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns...
[pub/lufa.git]
/
Projects
/
USBtoSerial
/
USBtoSerial.c
diff --git
a/Projects/USBtoSerial/USBtoSerial.c
b/Projects/USBtoSerial/USBtoSerial.c
index
9189868
..
145047c
100644
(file)
--- a/
Projects/USBtoSerial/USBtoSerial.c
+++ b/
Projects/USBtoSerial/USBtoSerial.c
@@
-124,8
+124,8
@@
void SetupHardware(void)
LEDs_Init();
USB_Init();
LEDs_Init();
USB_Init();
- /*
Configure the UART flush timer - run at Fcpu/1024 for maximum interval before overflow
*/
- TCCR0B = (
(1 << CS02) | (1 << CS00)
);
+ /*
Start the flush timer so that overflows occur rapidly to push received bytes to the USB interface
*/
+ TCCR0B = (
1 << CS02
);
}
/** Event handler for the library USB Connection event. */
}
/** Event handler for the library USB Connection event. */